Title: Hide featured image on all single page/post
Author: Tyler Tork
Published: <strong>1. januara 2021</strong>
Last modified: 4. februara 2022

---

Tykače pytać

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

![](https://ps.w.org/hide-featured-image-on-all-single-pagepost/assets/icon-256x256.
png?rev=2448856)

# Hide featured image on all single page/post

 Wot [Tyler Tork](https://profiles.wordpress.org/tylertork/)

[Sćahnyć](https://downloads.wordpress.org/plugin/hide-featured-image-on-all-single-pagepost.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/#developers)

 [Podpěra](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/)

## Wopisanje

This lightweight plugin hides _all_ featured images on pages and posts when they
are viewed in their own tab. The posts are not modified — they still have a featured
image if you selected one. The plugin only disables the theme’s ability to access
the image when rendering the page. If your theme displays featured images in search
results, Posts page, category lists, and so on, it still can do that. Social media
platforms and search engines that look for an image to accompany the excerpt, can
also still find the featured image URL in the post metadata.

There are no settings; the plugin just does the one thing.

**The change applies to existing posts as well as anything you create after activation.**
You would need to edit any old posts that are adversely affected by this change (
if you want the featured image to display, you would have to insert it into the 
content). If you have a lot of old content, you might want to use a different plugin
such as [Conditionally display featured image on singular pages and posts](https://wordpress.org/plugins/conditionally-display-featured-image-on-singular-pages/),
which by default only affects new posts.

TECHNICAL NOTE

Themes that find the featured image by looking up data in the database directly 
as opposed to calling `get_the_post_thumbnail()` or `wp_get_attachment_image()`,
may still emit HTML for the featured image despite this plugin. As a second line
of defense, the plugin loads a stylesheet that tries to hide the image if it is 
present in the HTML. This also might fail if the theme has used unusual entities
and class names. Custom CSS rules should always be possible as a fallback (in which
case you don’t need this plugin).

This plugin also (not on purpose) blocks the featured image from appearing in the
content where you’ve inserted a „Post featured image“ block. I’m looking into whether
it might be possible to detect the difference between a request for the featured
image for default display versus a deliberate insertion later. In the meantime, 
as a workaround, don’t use the „Post featured image“ block, but instead insert an„
Image“ block and re-select the image from your media library (I prefer that anyway
since it gives more control over size, alt text, etc).

If you find a theme this doesn’t work with, please let me know.

### Donations

The author is not soliciting donations for himself. If you find this useful and 
want to pay it forward, please consider donating to an organization that directly
helps people in need.

## Instalacija

 * Visit Plugins > Add New.
 * Search for „Hide featured image on all single page/post“.
 * Click Install, then Activate.
 * There is nothing to configure. If you have existing content, you’ll have to edit
   old posts to include the featured image where you want it.

## HSP

### Why wouldn’t I want to display featured images on the page that features them?

You probably _do_ want to display them somewhere in the post. You just might not
always like the way your theme does it. If using this plugin, add the same image
twice in your post — once as the featured image, and again somewhere in the content.
There, you can use the position, size, wrapping, caption, and cropping you prefer.

### Will this affect opengraph or other metadata?

No. Facebook or whoever will still find your featured image.

### I’m mostly okay with where the featured image displays. There are just a few pages where I want to do something different.

This is not the right plugin for that situation. Instead, use [Conditionally display featured image on singular pages and posts](https://wordpress.org/plugins/conditionally-display-featured-image-on-singular-pages/).

### Why do I need a plugin for this? I can just write a custom CSS rule

This is true — you can probably hide the featured image yourself using the „additional
CSS“ feature of your theme, if you know how. The drawbacks to this technique are,
first, the featured image is then still part of the HTML and browsers might request
it from your server, which is a waste of bandwidth, and second, that the theme still
_thinks_ there’s a featured image, and may make space for it on the screen or otherwise
change the styling or placement of other entities to account for its presence. So
the CSS rule might not work. Be sure to test it using the emulation mode of your
browser to see whether it works on a variety of devices.

### It doesn’t work on my site! The image is still visible.

Some themes do things in what I will call „the wrong“ order, such that no plugin
can affect the inclusion of featured images in the HTML because none of the plugin’s
code has yet been activated when the theme retrieves this information. There’s nothing
I can do about that in my code, so I’d appreciate you reporting this as a bug to
the theme developers. Any other plugin that does something similar will also be 
affected.

As a second line of defense, this plugin uses a CSS stylesheet to set to „display:
none“ some style classes commonly associated with featured images. You can emulate
this solution by using custom CSS (as described in the previous section). Nearly
all themes have a place to insert custom CSS in the Customize screen. Use the browser’s
developer mode to see how the part you want to hide is styled and to test your new
rule. This is not an ideal solution but it does give you the desired appearance,
usually.

If you solve the problem with custom CSS, this plugin isn’t helping you and you 
might as well remove it. Please drop me a line with the theme name (and the CSS 
rule you ended up using, if you’re willing).

## Pohódnoćenja

![](https://secure.gravatar.com/avatar/0b9fcc701ebcbc274b7228d09eb83d0aaf19408ce4f689adddcdc76c8f7350d6?
s=60&d=retro&r=g)

### 󠀁[perfect](https://wordpress.org/support/topic/perfect-10449/)󠁿

 [anassatout](https://profiles.wordpress.org/anassatout/) 18. julija 2024

perfect plugin

![](https://secure.gravatar.com/avatar/e7aa5ea8f34392161e5fcbd1307eee359a7e9979f7a038a4125e8316dfb932ec?
s=60&d=retro&r=g)

### 󠀁[So cool](https://wordpress.org/support/topic/so-cool-45/)󠁿

 [naijamomo](https://profiles.wordpress.org/naijamomo/) 18. septembra 2023

i love how it works, it's works like a ghost plugin and greatly fine

![](https://secure.gravatar.com/avatar/a70703737e66db46db955faa6b5c569d58b0e5996793bbceb37bc57f3b0d8b67?
s=60&d=retro&r=g)

### 󠀁[Everything is working fine.](https://wordpress.org/support/topic/everything-is-working-fine-2/)󠁿

 [Maksimasz](https://profiles.wordpress.org/maksimasz/) 9. februara 2023

Using the theme MH Magazine lite. As intended, it hides the image in all posts.

![](https://secure.gravatar.com/avatar/e41bb256e6eed78f45b232b4bc15696e77ec06d1811d735b90c1dd96a69cc613?
s=60&d=retro&r=g)

### 󠀁[TwentySeventeen not working](https://wordpress.org/support/topic/twentyseventeen-not-working/)󠁿

 [petewolk](https://profiles.wordpress.org/petewolk/) 27. januara 2023

Old now I know but it doesn't work for TwentySeventeen.

![](https://secure.gravatar.com/avatar/db78e58f9bae7a7b3088ac894a8171a9cb53abeceee4a2e9d679c94aae43fccc?
s=60&d=retro&r=g)

### 󠀁[So far great](https://wordpress.org/support/topic/so-far-great-17/)󠁿

 [Sergio Ortiz](https://profiles.wordpress.org/temazcaltoci/) 12. decembra 2022

It is working great. Thank you.

![](https://secure.gravatar.com/avatar/68c1dc41dc4755e1ed64097ea563504a67bf9984072d733233cff3ee54b9aee4?
s=60&d=retro&r=g)

### 󠀁[Works exactly as I wanted](https://wordpress.org/support/topic/works-exactly-as-i-wanted-2/)󠁿

 [PalKat](https://profiles.wordpress.org/palkat/) 14. oktobra 2022

I switched my theme to Extra by Elegant Themes and there a post with videos where
I did not want the featured image to show on the actual post. This has done just
that for me. So easy and works great so far!

 [ Čitajće 14 pohódnoćenjow ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„Hide featured image on all single page/post“ je softwara wotewrjeneho žórła. Slědowacy
ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

 *   [ Tyler Tork ](https://profiles.wordpress.org/tylertork/)

„Hide featured image on all single page/post“ je so do 2 rěčow přełožił. Dźakujemy
so [přełožowarjam](https://translate.wordpress.org/projects/wp-plugins/hide-featured-image-on-all-single-pagepost/contributors)
za jich přinoški.

[Přełožće „Hide featured image on all single page/post“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/hide-featured-image-on-all-single-pagepost)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/hide-featured-image-on-all-single-pagepost/),
hladajće do [SVN-repozitorija](https://plugins.svn.wordpress.org/hide-featured-image-on-all-single-pagepost/)
abo abonujće [wuwiwanski protokol](https://plugins.trac.wordpress.org/log/hide-featured-image-on-all-single-pagepost/)
přez [RSS](https://plugins.trac.wordpress.org/log/hide-featured-image-on-all-single-pagepost/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 1.0

Initial release.

#### 1.1

Added support for Squarex theme.

## Meta

 *  Version **1.0**
 *  Last updated **5 lět**
 *  Active installations **4.000+**
 *  WordPress version ** 4.6 abo nowši **
 *  Tested up to **5.9.20**
 *  PHP version ** 7.2 abo nowši **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/),
   [English (US)](https://wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/)
   a [Swedish](https://sv.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/).
 *  [Přełožće do swojeje rěče](https://translate.wordpress.org/projects/wp-plugins/hide-featured-image-on-all-single-pagepost)
 * Tag
 * [featured images](https://hsb.wordpress.org/plugins/tags/featured-images/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/hide-featured-image-on-all-single-pagepost/advanced/)

## Pohódnoćenja

 4.6 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/reviews/)

## Sobuskutkowarjo

 *   [ Tyler Tork ](https://profiles.wordpress.org/tylertork/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/hide-featured-image-on-all-single-pagepost/)

## Darić

Chceće dalewuwiwanje tutoho tykača podpěrać?

 [ Za tutón tykač darić ](https://torknado.com/donate)