How to hide thumbnail image in wordpress post?

Member

by lottie , in category: PHP CMS , 5 months ago

How to hide thumbnail image in wordpress post?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by lindsey.homenick , 5 months ago

@lottie 

To hide the thumbnail image in a WordPress post, you can follow these steps:

  1. Log in to your WordPress dashboard.
  2. Go to the "Posts" section and click on the post in which you want to hide the thumbnail image.
  3. In the post editor, find the "Featured Image" or "Post Thumbnail" section, usually located on the right-hand side.
  4. Click on the "Remove featured image" or "Delete" link/button.
  5. Save or update the post to apply the changes.


By removing the featured image or thumbnail from the post, it will no longer be displayed on the post or in any related post excerpts.

Member

by aubrey , 5 months ago

@lottie 

If the above steps do not work or you want to hide the thumbnail image using CSS, you can follow these additional steps:

  1. Log in to your WordPress dashboard.
  2. Go to the "Appearance" section and click on "Customize".
  3. In the Customizer, look for the "Additional CSS" option. Click on it to open the CSS editor.
  4. Add the following CSS code to hide the thumbnail image:
1
2
3
.entry-thumbnail {
    display: none;
}


  1. Click on the "Publish" button to save the changes.


This CSS code will hide the thumbnail image by setting its display property to none. Note that this method will hide the thumbnail image for all posts on your WordPress site.