Description: Easily control the visibility of the featured image on singular posts and pages–while keeping it visible in archive pages, query loops, and other list views. (By request.)
Creator’s site: Conditionally display featured image on singular posts and pages by Cyrill Bolliger
Why you might want it:
By default, a featured image is automatically displayed on a page or post.
In the Illinois Theme, you can select whether you want the image positioned left, right, or center, but as of this writing, you can’t choose to hide it in order to place it in a different location, such as an author’s photo in a biography box at the end of a news article.
How to use:
- (Available by request:) Send a request to have this plugin enabled on your publish.illinois.edu site.
- After the PIE administrators have turned on the plugin for you, go to your Dashboard‘s Plugin list and choose Activate.
- Once the plugin is active, you’ll have a new item in your pages’ Featured Image section: A small checkbox displayed below the Featured Image which allows you to hide the Featured Image within the page or post itself.
- After you’ve checked the box and saved your page or post, the Featured Image will continue to be displayed in groupings like Categories, Tags, or the Content View plugin’s filtered page or post groups. However, it will not be automatically displayed within the page or post itself, so you can choose where (or whether) you want to place that image.
Examples
The post management sidebar of a Block Editor post, with the Featured Image and the conditional checkbox:
The Featured Image in a Classic Editor tends to appear in a pod on the right hand side:

The standard display of that post, with the box not checked:

After checking the box, the Featured Image is still attached to the page in category and other group views, but it doesn’t automatically appear on the page. This gives you full page width content and the ability to choose where (or if) you want to embed the featured image.
