Czy chcesz ukryć wyróżniające się obrazki w poszczególnych wpisach w WordPress?
Może się zdarzyć, że masz wyróżniający się obrazek do wpisu, ale zamiast go usunąć, po prostu chcesz go ukryć przed odwiedzającymi.
W tym artykule pokażemy, jak ukryć wyróżniające się obrazki w poszczególnych wpisach w WordPress.
Kiedy i dlaczego warto ukrywać obrazki wyróżniające w WordPressie?
Prawie każdy motyw WordPress ma wbudowaną obsługę wyświetlania wyróżniających się obrazków lub miniaturek w różnych obszarach twojej witryny internetowej.
Niektóre motywy będą nawet automatycznie używać załączników wpisów jako wyróżniających się obrazków, jeśli nie zostanie określony żaden obrazek. Oznacza to, że nadal będzie wyświetlany wyróżniający się obrazek, nawet jeśli go nie ustawisz.
Może się jednak zdarzyć, że w niektórych sytuacjach będziesz chciał ukryć wyróżniający się obrazek.
Na przykład, możesz mieć wpis na blogu WordPress, który wygląda na zagracony z wyróżniającym się obrazkiem. Ale nadal chcesz, aby wyróżniający się obrazek był wyświetlany, gdy jest wyświetlany na twojej oddzielnej stronie bloga.
W takim przypadku należy ukryć go w indywidualnym wpisie na blogu bez usuwania lub usuwania obrazka w całości.
Mając to na uwadze, pokażemy krok po kroku, jak ukryć wyróżniający się obrazek w poszczególnych wpisach w WordPressie.
Film instruktażowy
Jeśli wolisz pisemne instrukcje, czytaj dalej.
Ukrywanie wyróżniających się obrazków w poszczególnych wpisach WordPressa
Aby łatwo ukryć wyróżniające się obrazki we wpisach WordPress, zalecamy skorzystanie z wtyczki Conditionally Display Featured Image. Daje ona możliwość ukrycia poszczególnych wyróżniających się obrazków we wpisach WordPress.
Pierwszą rzeczą, którą musisz zrobić, jest zainstalowanie i włączanie wtyczki. Aby uzyskać więcej informacji, zapoznaj się z naszym przewodnikiem krok po kroku, jak zainstalować wtyczkę WordPress.
Następnie wtyczka działa od razu po wyjęciu z pudełka i nie ma żadnych ustawień wtyczki do skonfigurowania.
Po prostu przejdź do Wpisy ” Wszystkie wpisy i kliknij wpis, który chcesz otworzyć.
Następnie na ekranie edycji wpisu zobaczysz pole „Wyświetlaj wyróżniający się obrazek tylko na listach wpisów, ukryj w pojedynczych widokach” bezpośrednio pod wyróżniającym się obrazkiem.
Aby ukryć obrazek wyróżniający, po prostu zaznacz to pole, a następnie kliknij przycisk „Aktualizuj”, aby zapisać twoje zmiany.
Następnie możesz zobaczyć swój wpis i powiadomienie o obrazku wyróżniającym jest ukryte. Nawet jeśli do wpisu przypisany jest obrazek wyróżniający, nie zostanie on wyświetlony.
Ta wtyczka nie usunie ani nie usunie miniaturki wpisu. Ukrywa ją tylko na front-endzie twojej witryny internetowej WordPress. Jeśli kiedykolwiek będziesz chciał ponownie wyświetlić wyróżniający się obrazek, po prostu edytuj wpis i odznacz pole ukryj wyróżniający się obrazek.
Jeśli korzystasz z własnych typów treści z obsługą wyróżniających się obrazków, wtyczka pozwoli ci również ukryć te wyróżniające się obrazki.
Przewodniki ekspertów dotyczące obrazków wyróżniających w WordPressie
Teraz, gdy już wiesz, jak ukryć wyróżniające się obrazki w poszczególnych wpisach, być może spodoba ci się kilka innych artykułów związanych z wyróżniającymi się obrazkami w WordPressie.
- Jak dodać wyróżniające się obrazki lub miniaturki wpisów w WordPress?
- Jak wymagać obrazków wyróżniających dla wpisów w WordPressie?
- Jak przycinać i edytować miniaturki wpisów WordPress
- Jak ustawić domyślny obrazek wyróżniający w WordPress (prosty sposób)?
- Jak ustawić zastępczy obrazek wyróżniający na podstawie kategorii wpisu w WordPress?
- Jak dodać wiele miniaturek postów / wyróżniających się obrazków w WordPressie?
- Jak zbiorczo edytować wyróżniające się obrazki w WordPress?
- Jak poprawić obrazki wyróżniające pojawiające się dwa razy we wpisach na WordPressie?
- Jak przeprowadzić test A/B Split wyróżniających się obrazków w WordPressie?
Mamy nadzieję, że ten artykuł pomógł ci dowiedzieć się, jak ukryć wyróżniające się obrazki w poszczególnych wpisach w WordPress. Zachęcamy również do zapoznania się z naszym przewodnikiem na temat tworzenia newslettera e-mail i wyborem najlepszych chatbotów AI dla Twojej witryny internetowej.
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!
Abinash Panda says
Thank you for the post, I could fix this issue on desktop site but not on mobile view. Do you have any idea ?
WPBeginner Support says
In that case, please visit the plugin’s page and check their FAQ, they have a few recommendations to solve that issue
Administrator
Gina Hobbs says
Thank you so much, this worked like a charm!
WPBeginner Support says
You’re welcome, glad our guide was helpful!
Administrator
Uche Nwonye says
After hiding the featured image in the single post view, will it be displayed when I share the post on social media (like WhatsApp)?
WPBeginner Support says
It would depend on what your site’s markup is, if you have an SEO plugin then those allow you to set the same or different images to appear for social media.
Administrator
Brittany Adams says
This video was so helpful in fixing my issue. Thank you so much.
WPBeginner Support says
Glad our video helped!
Administrator
Isabella says
Thank you very much!
WPBeginner Support says
You’re welcome!
Administrator
Shauky says
Thanks a Lot, it worked
WPBeginner Support says
Glad our guide worked for you
Administrator
Saroj Alam says
Thanks you for this plugin.
WPBeginner Support says
Glad we could bring this plugin to your attention
Administrator
Simea says
Is there a possibility to hide the featured image on the archive only, but not on the single Post page?
WPBeginner Support says
If you reach out to your theme’s support they would be able to help with that kind of customization.
Administrator
Raja ajmal says
When I set a feature images for a post, it automatically comes at the top of a post, which I do not want to be there.
How can I remove that image in the top of a post?
WPBeginner Support says
You would want to reach out to your theme’s support as each theme has a different method for displaying that.
Administrator
Rick Matthews says
This plugin has not been updated in 2 years.
WPBeginner Support says
Thank you for letting us know, we will be sure to keep an eye out for alternative plugin options.
Administrator
Ann B says
the plugin won’t work
WPBeginner Support says
Thank you for your feedback, we will certainly keep a lookout for a replacement plugin
Administrator
faiz khan says
Thanks alot i was facing very problem for this issue thanks wp beginners
WPBeginner Support says
Glad our guide could help
Administrator
Chelsea Plummer says
I just downloaded this, but unfortunately the plugin is not working. Do you have any other suggestions or plugins to use? Thank you so much.
WPBeginner Support says
Unless I hear otherwise, not at the moment. We will be sure to keep an eye out for alternatives.
Administrator
HARI says
The pluggin is not working .
WPBeginner Support says
We will certainly take a look and look for a replacement plugin if it continues to not work properly
Administrator
Daniels says
I 've added a featured image only for share in facebook, I don’t want it displayed at top of the post. So I am using this plugin.
It works okay if the user selects a post from Recent Posts but it doesn’t if the user clicks on one of the Archives dates or on of one of the Categories
WPBeginner Support says
Thanks for letting us know, you may want to reach out to the plugin’s author to let them know about that issue.
Administrator
Daniels says
The plugin’s webpage is blank. I did contact the author by email but he didn’t reply yet.
Do you know another way to always hide the featured image?
I’ve read Yoast does the task in a different way (no need to add a featured photo, just set which one to use for facebook posts) but it is a paid feature.
I use WPSSO plugins that let me preview a facebook post using featured image.
Thank you
WPBeginner Support says
You may want to reach out to your theme’s support and they may have a recommended method to hide or remove the featured image.
Jay says
Hello,
Combed through all the responses. Still needing help.
For Ali who recommended:
Enter this code into your theme’s custom CSS area:
.single.postid-99 .post-img {display: none;}
Replace “99” with the post id for which you want to hide the featured image.
and Jim who recommended:
Put in the theme options / general/ css
.single-post .et_post_meta_wrapper > img{
display:none;
}
____________________________________________
I have the Herschel theme if that sheds some light.
I have tried both in the custom css box and neither solution have worked.
Have also tried hiding image from ALL posts under the settings.
Do the above solutions need to go in a specific area of the css box?
Otherwise, this plugin is not working for me.
Thanks!
WPBeginner Support says
Sadly, the plugin may not be working for your theme, you could try reaching out to the plugin’s support to see if there is an issue with the theme you are using.
Administrator
Nate says
I like that plugin you showed in the youtube video, it’s really simple.
Although, It’s not really friendly with Elementor. When I add a photo gallary in, in replace of my featured image on my post, the plugin will not only hide the featured image, but that photo gallary as well. Anyone know a fix or a different plugin?
ANTESH KUMAR SINGH says
Can it affect my website SEO or ranking?
Iris says
Yes, because your „real” content is the first thing Google reads at your page (after title etc).
It won’t do much, but it won’t hurt.
Jimmie says
I am using the “Hide Featured Image” plug-in in an effort get rid of the big empty box in the middle of my product pages. It works. However, when I do this, it negatively affects the images in the product gallery below. To see what I mean, please refer to this page which has the featured image hidden:
When the plug-in is set to “off” on the page, the product photos are coordinated properly with the color option chosen & that part works like a charm.
How can I get them to both work together?
THANKS
WPBeginner Support says
Hi Jimmie,
Try disabling all other plugins to see if this solves the issue. If it does, then activate them one by one until this issue occurs again. This will help you find out if another plugin is causing the conflict.
Administrator
Tony says
Hi,
I was not set any featured image in my post but one image from post shows in homepage how can i remove it. Kindly help me.
WPBeginner Support says
Hi Tony,
Your theme may be designed to pick up any image from your posts to automatically use as featured image on the homepage. Please contact theme author, they will be able to guide you.
Administrator
Tony says
Hi,
its resolved Thanks
Jim K says
I am using the plugin „Hide Featured Image”. It is not working even if hide featured image is set to yes.
Laura says
OMG it really works !! Thank u so much
Stephen Mgbemena says
Please does displaying featured image reduce SEO??
Pranav says
Hi Stephen,
As image is just hidden it will have no effect on SEO
Thanks
Tunde Sanusi [Tuham] says
It’s going to be strenous for like lots of post.. Is there a plugin that can do it all at once?
Sheree says
Is there any way to stop the featured image from showing up on the home page as well?? This plug-in works well to hide it in posts, but my home page (which is just a feed of blog posts) is now a mess of featured images.
Basically, I just want the feature image attached to the post for RSS feed newsletters and social sharing, but I don’t want it to appear in the article OR on my homepage. I’ve been tearing my hair out on this for hours…
Elisabeth says
Sorry, I’m trying to figure out how to unhide a featured image in a single post, tried to unhide it with this, and it didn’t work.
Arden Mendoza says
I been trying to remove my site’s portfolio suffice feature image for days now using style css but no luck. When I came across this article I follow the steps and downloaded the plugin and it WORKED!!!
Thanks
here is my sites portfolion
all the featured images in portfolio has been hidden
Thanks again
Prasad Maitra says
It’s not working with the Ribbon lite theme. I have installed it but seems still those No preview image box showing beside the posts.
Phil says
worked like a charm. Thanks for sharing this video. very quick and easy without any code changes
Reinout says
Doesn’t work with Divi
Jim says
For me the same, it doesn’t work with Divi
Jim says
Found it. Put in the theme options / general/ css
.single-post .et_post_meta_wrapper > img{
display:none;
}
Tabitha says
It doesn’t work :(. Is there another plugin that does this?
John says
How do I prevent my featured image from showing up inside my post but instead just as a featured image. Usually when I set a featured image, it shows up even inside the post itself and I don’t like that…. what do I do?
Alecca says
Perfect save! Thanks for the tip!!
joe says
it doesn’t work
Sheetal says
Hi, It is not working. What is wrong please help me.
Chantal says
What would the code be if its a portfolio post? The above custom code is not working for me and I think its because they are portfolio posts. Thanks
Sara says
Life saver!!! I have been searching all over for this!
Dave says
When the plug in be updated to support WP 4.6.1??
Vanbel says
hai, i tried this plugin but it doesnt work, it shows „Yes or no” option on my post. i tried both, but none of them work. Please help me! heres my site:
Robert says
Thanks for the help, you guys rock!
Imaqination says
Hello, I have tried to download the plugin and hide the featured image. However, the buttons shows, „Yes or No”, and Either of them don’t hide the featured image.
Ralph says
I had the same problem, doesn’t seem to work…
Sagar Patil says
it worked, thanks.
Hussain says
When I found this, I expected to read something about SEO too. The question is what SEO effect does hiding featured image have, especially if it’s hidden by css on a post type because you don’t want it to appear on that post type only?
Lisa Scott says
You are a lifesaver. Thanks so much. This worked beautifully for me. So glad to have it all straightened out.
Kreshnik says
Thanks for the post, it’s help me a lot but can i hide Featured Images from all my video post formats.
Chris R says
Does this work such that on the HOME page, the featured image would display, but for the post itself, you could hide it? (So, for example, you might have a static thumb in the home page loop, but want to show a slider in the post itself).
Josh M says
I’m trying to figure out how to do the same thing with no luck.
I would like the featured images to be displayed as thumbnails on the homepage. But for the post pages I want to hide the featured image from a certain post, but have the featured on other posts still display on the posts page. I would like to do this without adding a plugin.
Let me know if you were able to solve this.
Anita says
I have the exact same issue.
Ali says
I have the same issue. Any luck?
Ali says
I found a solution for this.
Enter this code into your theme’s custom CSS area:
.single.postid-99 .post-img {display: none;}
Replace „99” with the post id for which you want to hide the featured image.
Bamidele says
Thanks for the post, it’s help , have been looking for a day to read this on WPbeginner. I tried it and it works on my site ,
Bhuwan Roka says
Enjoying in reading this helpful article.
Thank you for sharing.
Corey says
I got a question pertaining to this topic (sort of). How can I replace the featured post image with a slideshow?
Muzamil says
Thanks for this post
I just visited this post from my mobile and want to know how you get full desktop view of this site on mobile. When I checked my website it automatically shows a different view on mobile and desktop, is it my theme or something else