WordPressの投稿でアイキャッチ画像が2回表示されるのを修正する方法を知りたいですか?
WordPressで新規投稿を作成するのはとても簡単な作業です。しかし、一部のユーザーはアイキャッチ画像が2回表示されるという問題に遭遇します。
この投稿では、WordPressの投稿でアイキャッチ画像が2回表示されるのを修正する方法を紹介する。
WordPressでアイキャッチ画像が2回外観されるのはなぜですか?
ユーザーが「おすすめ画像」タブに画像を追加し、投稿エディターに同じ画像をアップロードした場合、WordPressの投稿でアイキャッチ画像が二重に表示されることがあります。
画像を「アイキャッチ画像」タブに追加しても、コンテンツエディターのどこにも表示されないからだ。
アイキャッチ画像はWordPressテーマの機能だからです。テーマによって、サイト上のどこにどのようにアイキャッチ画像を表示するかが決まります。
通常、これらの画像はWordPressサイトのトップページやブログページの見出しの横、ブログ投稿の上部に表示されます。
テーマによって、サムネイル画像やメイン投稿画像として使用することができます。
注: アイキャッチ画像はカバー画像とは異なります。アイキャッチ画像はコンテンツを表すもので、個別ページ、ブログのアーカイブページ、ニュース、雑誌、ブログサイトのトップページに表示されます。
カバー画像は、記事全体の一部であり、ブログ投稿やページ内の新しいセクションに使用される幅の広い画像です。
詳しくは、WordPressブロックエディターにおけるカバー画像とアイキャッチ画像の違いについての初心者向けガイドをご覧ください。
ということで、WordPressの投稿でアイキャッチ画像が2回表示されるのを修正する方法を紹介しよう。
動画チュートリアル
書面による指示をご希望の方は、このまま読み進めてください。
方法1.WordPressの投稿で、おすすめ画像が二重に表示されるのを修正する。
WordPressブログ投稿のアイキャッチ画像の重複を修正するのはとても簡単です。画像が二重に表示されている投稿を開き、投稿エディター内で画像を削除するだけです。
画像を削除するには、画像をクリックし、3つの点をクリックしてドロップダウンメニューを表示させ、「画像を削除」を選択するだけです。
その後、忘れずに「更新」ボタンをクリックして変更を保存してください。
これで、投稿を表示したときに、アイキャッチ画像は1回しか表示されなくなります。それでもまだアイキャッチ画像が2回表示される場合は、このまま読み進めてください。
方法2.フルサイトエディターでアイキャッチ画像が二重に表示されるのを修正する。
フルサイト編集機能を備えたモダンな ブロックテーマを使用している場合は、この手順を試して、アイキャッチ画像が2回表示されるのを修正することができます。
フルサイトエディターでは、ブロックエディターを使ってWordPressテーマを編集することができます。テンプレートを編集し、ブロックを使ってサイトレイアウトを作成/編集することができます。
テンプレートに余分なフィーチャー画像ブロックをImagelyに追加した場合、サイトエディターはフィーチャー画像を2回表示します。
これを修正するには、外観 ” エディターページにアクセスしてサイトエディターを起動します。
ここからページまたはテンプレートを参照し、アイキャッチ画像が2回表示される画面に移動することができます。
その後、余分なアイキャッチ画像が表示されているエリアをクリックします。
クリックして追加アイキャッチ画像ブロックを選択し、ブロックツールバーから3点メニューをクリックします。
メニューから「削除」を選択し、ブロックを削除する。
追加ブロックを削除したら、変更を保存するのを忘れないでください。
WordPressのアイキャッチ画像に関するエキスパートガイド
WordPressのアイキャッチ画像にまだ問題がある場合は、WordPressのアイキャッチ画像に関する他のガイドをご覧ください:
- WordPressでよくある画像の問題を修正する方法
- WordPressでアイキャッチ画像が表示されない場合の対処法
- WordPressで投稿にアイキャッチ画像を必須にする方法
- WordPressで投稿日:カテゴリーに基づいたフォールバックおすすめ投稿画像を設定する方法
- WordPressでアイキャッチ画像を一括編集する方法
- WordPressで複数の投稿サムネイル/おすすめ投稿画像を追加する方法
この投稿が、WordPressの投稿でアイキャッチ画像が2回表示されるのを修正する方法のお役に立てば幸いです。また、無料のビジネスメールアドレスの作成方法や、専門家が選んだビジネスサイトに必須のWordPressプラグインもご覧ください。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
jamy jorden says
DO having both images affect speed? actually have two images but my theme has a feature to hide feature image in a a post
WPBeginner Support says
If the images are large then it may affect speed but if the images are optimized then it would have a minimal effect on your site’s speed.
管理者
Nitesh Kumar says
DO having both images affect speed? actually have two images but my theme has a feature to hide feature image in a a post
WPBeginner Support says
It would depend on the image but as long as you have optimized your images for the web then it would not be a noticeable change in your site’s speed.
管理者
Aviansh sahu says
I have a dought about featured image.
Should i use same image or it’s wrong for seo like duplicacy.
WPBeginner Support says
While you can use the same image, that would likely confuse your users over time which is why sites attempt to have something different in each image.
管理者
Brianna says
Hi,
When going to my post I don’t have the option of “set featured image” on the side. Actually, my posts tab looks nothing like yours.
WPBeginner Support says
You may want to ensure your site is not on WordPress.com, we explain the differences in our article below:
https://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/
管理者
Shaye says
I tried removing the top image in my post so that it wouldn’t duplicate. Now it shows up at the top when I go to my main blog address. I was pretty happy about that, except that when I went directly to the post where I set the featured image, the image isn’t visible there because I deleted it from the actual post. I’m part of communities where we link to direct posts and so now my fellow community members cannot see the feature photo unless they exit back out to my “home” page.
WPBeginner Support says
That design is determined by your specific theme, you would first want to reach out to your theme’s support for displaying the featured image on the post’s page.
管理者
Robin says
I actually want the featured image to appear later in the post but with Featured Image function, it shows at the top.
I like to use this feature as otherwise Facebook shares will just show whatever is the first picture in the post, which I do not want.
How do I get this control?
WPBeginner Support says
Sadly, for that type of customization, you would either need to reach out to your theme’s support about customization or use a page builder plugin
管理者
viji says
thank you
WPBeginner Support says
You’re welcome
管理者
Faizan says
I have just migrated from blogger so there are several posts. Removing post images and adding to featured images would be time-consuming. Can I do it all at once?
Haider says
if both images are different means the media and feature image so what to do?
Sandy says
Thank you!! Double pics were driving me nutty! You’re the best!
Indika says
Hey thanks man! This post really helped me out as I was getting duplicate images after changing my theme!
Toni says
This worked for my site, which runs on the Divi Elegant template. I wish there was a way to do this for all my posts though, instead of having to go manually and delete the images from the posts.
Jessica A. says
I deleted the image in the article and left it as the Featured Image (more than once) and now it does not show in the article at all?
calvin says
i accidentally deleted some codes from homepage..now my sliders appear twice on the homepage ..what should i do to avoid this
RAVI kUMAR GUPTA says
how do i give credit to copyright images while using it in feature image
of the post
WPBeginner Support says
You can give credit in your post.
管理者
giselle says
woo hoo thanks!!!!
Tom says
I’ve just taken over a blog & WP is driving me insane. I have an issue similar to this but not quite the same. If I delete the second image (so I now only see the featured image once and it’s not repeated) how do I get the 1st paragraph of copy to appear above the image, not below it?
Thanks
WPBeginner Support says
Your theme displays featured image before the content or next to it. If you want to display an image after the first paragraph then you need to add it as a normal image instead of featured image.
管理者
Sandra Evans says
I had the same problem, but when I do what you said, I don’t have a thumbnail show for prior posts.
Katina says
Thank you SO much for this info!!! I have been searching forever!!!
It works for me however when I open the post the image is left aligned and all the other images are centered. How do I set the featured image to centered once I open the post?
THANKS AGAIN
K
WPBeginner Support says
Your WordPress theme handles how featured images are displayed on your website. You can use CSS in your child theme to adjust image alignment.
管理者
Paravada says
Did you find the solution for image alignment?
annie says
I have a self-hosted WordPress blog running the Sela theme. I have set in my pages a featured image. Yesterday I changed the page to full width page in page attributes. When I check my featured image in page preview it appears. When I visit my site the featured images do not appear at all.
How can I solve this?
Many thanks!
annie
WPBeginner Support says
Please contact your theme developer for support.
管理者
zana says
Hi,
My issue is different. I normally get a text code from the licensor of the photo and I insert the text onto the body of the post and the photo will show normally. Now, I want to know how can I use the same photo as featured image? Because the photo won’t show unless you open the article and see it.
And If I select the featured image option, then two photos will show. The one that I put in the body with the text code and the one as a featured image.
Thanks
Ankit says
Thanks for the wonderful info. I want to know that if the thumnail photo and blog photo is different, then what we have to do in that case
Alice Baker says
This works but what if I don’t want a thumbnail image in my post? What If in the post I want a full sized image? The other issue I have is that sometime I con’t want the lead image in my post to be the same image as the thumbnail used other places.
Cali Swahili says
I have been looking everywhere for a solution to this and this simple step have solved my problem. Thanks so much!
WPBeginner Staff says
Yes this article does not help you with that.
Featured images are a theme feature, usually when it is added to a theme it becomes available to all posts by default. Disabling support for featured images in the theme will disable them on all future post as well.
To disable featured image support for your theme you need to find this line in your theme’s files (the location of this line varies but most of the time it is found in functions.php file)
add_theme_support( ‘post-thumbnails’ );
On the other hand you can avoid altering your theme and keep using featured images. For your past posts you can display a generic default fallback image, or you can display a fallback image based on post category.
Alex Smith says
Some themes have the option to display a featured image in your posts; some don’t. So for someone like me, who switched from a theme that didn’t support them, to one that by default automatically does, I’m looking for a way to disable them in all past posts in this new theme. This article does not help with that.
Frances says
Just found this post and it really was an eye opener. I have changed my post accordingly and understand now why I was getting the double images. The other issue I’m having is that I just changed my theme and now my featured images are not showing when publicized to FB. Trying to figure out what happened. Do you have any advice for fixing this issue?
Thanks so much.
Frances
Deepak says
I am fresh beginner in wordpress.
Johnny says
But when i have a big blog and now i will change to show feature images directly in theme? Any function to automaticly delete the first picture in all posts?
shrikant says
May i resize this feature image at the time of setting is as a featured image plz help me
Nanette says
In WP, it used to be you could designate a picture within a post as the featured image. This did not produce a duplication of the image (usually now top right thumbnail) on the blog post. With one of the upgrades (not too long ago), I started having problems with any imagine showing up when posting to FB, Google+ et. al. without a second step declaring a feature image. Often I only have one image in a post. Is there any way to designate a feature image for sharing without having it show up as a thumbnail on the blog post (but instead, later as a larger imagine within the blog text)? I’m using the Headway theme, by the way, but don’t imagine that matters. Thanks for any help you can provide!
WPBeginner Support says
You can use the first attachment in your post as the post thumbnail or featured image. Check out our guide on how to set a default featured image, particularly the second section ‘Adding the First Post Image as the Default Fallback’ might be helpful.
管理者
Gary Neal Hansen says
Thank you! You answered my question before I had to go searching for it. Very helpful.