Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como ocultar imagens em destaque em publicações individuais no WordPress

As imagens em destaque são importantes no WordPress, mas alguns de nossos leitores perguntaram se é possível ocultá-las em postagens individuais. Eles tinham uma imagem em destaque para uma publicação específica, mas não queriam que os visitantes do site pudessem vê-la.

Em nossa experiência, ocultar determinadas imagens em destaque pode ser útil se você estiver buscando maior flexibilidade no layout do seu site ou se quiser manter uma aparência limpa e profissional.

Neste artigo, mostraremos como ocultar imagens em destaque em postagens individuais do WordPress.

How to hide featured images on individual posts in WordPress

Quando e por que ocultar as imagens em destaque no WordPress é útil?

Quase todos os temas do WordPress vêm com suporte integrado para a exibição de imagens em destaque ou miniaturas em diferentes áreas do seu site.

Alguns temas até usam automaticamente os anexos das postagens como a imagem em destaque se nenhuma imagem for especificada. Isso significa que ele ainda mostrará uma imagem em destaque mesmo que você não a tenha definido.

No entanto, você pode querer ocultar a imagem em destaque em determinadas situações.

Por exemplo, você pode ter uma postagem de blog no WordPress que pareça desorganizada com a imagem em destaque. Mas você ainda quer que a imagem em destaque seja exibida quando listada em sua página de blog separada.

Nesse caso, você deverá ocultá-la na postagem individual do blog sem excluir ou remover a imagem completamente.

Dito isso, vamos mostrar a você como ocultar a imagem em destaque em postagens individuais no WordPress, passo a passo.

Tutorial em vídeo

Subscribe to WPBeginner

Se você preferir instruções por escrito, continue lendo.

Como ocultar imagens em destaque de posts individuais do WordPress

Para ocultar facilmente as imagens em destaque das postagens do WordPress, recomendamos o uso do plug-in Conditionally Display Featured Image. Ele lhe dá a opção de ocultar imagens em destaque individuais em posts do WordPress.

A primeira coisa que você precisa fazer é instalar e ativar o plug-in. Para obter mais detalhes, consulte nosso guia passo a passo sobre como instalar um plug-in do WordPress.

Depois disso, o plug-in funciona imediatamente, e não há configurações de plug-in para você definir.

Basta acessar Posts ” All Posts e clicar no post que você deseja abrir.

Go to WordPress post dashboard and open post

Em seguida, na tela de edição do post, você verá uma caixa que diz “Exibir imagem em destaque somente em listas de posts, ocultar em visualizações singulares” diretamente abaixo da imagem em destaque.

Para ocultar a imagem em destaque, basta marcar essa caixa e clicar no botão “Atualizar” para salvar suas alterações.

Check box to hide post featured image

Depois disso, você poderá visualizar sua postagem e perceberá que a imagem em destaque está oculta. Mesmo que haja uma imagem em destaque atribuída à postagem, ela não será exibida.

Esse plug-in não exclui nem desmarca a miniatura da postagem. Ele apenas a oculta no front-end de seu site WordPress. Se você quiser mostrar a imagem em destaque novamente, basta editar a postagem e desmarcar a caixa ocultar imagem em destaque.

Se você estiver usando tipos de post personalizados com suporte a imagens em destaque, o plug-in permitirá que você oculte essas imagens em destaque também.

Guias especializados sobre imagens em destaque no WordPress

Esperamos que este artigo tenha ajudado você a aprender como ocultar imagens em destaque em postagens individuais no WordPress. Talvez você também queira ver alguns outros artigos relacionados a imagens em destaque:

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

80 ComentáriosDeixe uma resposta

  1. Abinash Panda

    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

      In that case, please visit the plugin’s page and check their FAQ, they have a few recommendations to solve that issue :)

      Administrador

  2. Gina Hobbs

    Thank you so much, this worked like a charm!

    • WPBeginner Support

      You’re welcome, glad our guide was helpful!

      Administrador

  3. Uche Nwonye

    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

      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.

      Administrador

  4. Brittany Adams

    This video was so helpful in fixing my issue. Thank you so much.

    • WPBeginner Support

      Glad our video helped! :)

      Administrador

    • WPBeginner Support

      You’re welcome!

      Administrador

    • WPBeginner Support

      Glad our guide worked for you :)

      Administrador

  5. Saroj Alam

    Thanks you for this plugin.

    • WPBeginner Support

      Glad we could bring this plugin to your attention :)

      Administrador

  6. Simea

    Is there a possibility to hide the featured image on the archive only, but not on the single Post page?

    • WPBeginner Support

      If you reach out to your theme’s support they would be able to help with that kind of customization.

      Administrador

  7. Raja ajmal

    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

      You would want to reach out to your theme’s support as each theme has a different method for displaying that.

      Administrador

  8. Rick Matthews

    This plugin has not been updated in 2 years.

    • WPBeginner Support

      Thank you for letting us know, we will be sure to keep an eye out for alternative plugin options.

      Administrador

    • WPBeginner Support

      Thank you for your feedback, we will certainly keep a lookout for a replacement plugin

      Administrador

  9. faiz khan

    Thanks alot i was facing very problem for this issue thanks wp beginners

    • WPBeginner Support

      Glad our guide could help :)

      Administrador

  10. Chelsea Plummer

    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

      Unless I hear otherwise, not at the moment. We will be sure to keep an eye out for alternatives.

      Administrador

  11. HARI

    The pluggin is not working .

    • WPBeginner Support

      We will certainly take a look and look for a replacement plugin if it continues to not work properly

      Administrador

  12. Daniels

    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

      Thanks for letting us know, you may want to reach out to the plugin’s author to let them know about that issue.

      Administrador

      • Daniels

        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

          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.

  13. Jay

    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

      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.

      Administrador

  14. Nate

    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?

  15. ANTESH KUMAR SINGH

    Can it affect my website SEO or ranking?

    • Iris

      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.

  16. Jimmie

    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

      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.

      Administrador

  17. Tony

    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

      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.

      Administrador

  18. Jim K

    I am using the plugin “Hide Featured Image”. It is not working even if hide featured image is set to yes.

  19. Laura

    OMG it really works !! Thank u so much

  20. Stephen Mgbemena

    Please does displaying featured image reduce SEO??

    • Pranav

      Hi Stephen,

      As image is just hidden it will have no effect on SEO

      Thanks

  21. Tunde Sanusi [Tuham]

    It’s going to be strenous for like lots of post.. Is there a plugin that can do it all at once?

  22. Sheree

    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… :(

  23. Elisabeth

    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.

  24. Arden Mendoza

    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

  25. Prasad Maitra

    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.

  26. Phil

    worked like a charm. Thanks for sharing this video. very quick and easy without any code changes

    • Jim

      For me the same, it doesn’t work with Divi

      • Jim

        Found it. Put in the theme options / general/ css

        .single-post .et_post_meta_wrapper > img{
        display:none;
        }

    • Tabitha

      It doesn’t work :(. Is there another plugin that does this?

  27. John

    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?

  28. Alecca

    Perfect save! Thanks for the tip!!

  29. Sheetal

    Hi, It is not working. What is wrong please help me.

  30. Chantal

    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

  31. Sara

    Life saver!!! I have been searching all over for this!

  32. Dave

    When the plug in be updated to support WP 4.6.1??

  33. Vanbel

    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:

  34. Robert

    Thanks for the help, you guys rock!

  35. Imaqination

    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

      I had the same problem, doesn’t seem to work…

  36. Hussain

    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?

  37. Lisa Scott

    You are a lifesaver. Thanks so much. This worked beautifully for me. So glad to have it all straightened out.

  38. Kreshnik

    Thanks for the post, it’s help me a lot but can i hide Featured Images from all my video post formats.

  39. Chris R

    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

      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

        I have the exact same issue.

        • Ali

          I have the same issue. Any luck?

        • Ali

          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.

  40. Bamidele

    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 ,

  41. Bhuwan Roka

    Enjoying in reading this helpful article.

    Thank you for sharing.

  42. Corey

    I got a question pertaining to this topic (sort of). How can I replace the featured post image with a slideshow?

  43. Muzamil

    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

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.