Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Conditionally display featured image on singular posts and pages icon

Conditionally display featured image on singular posts and pages

v3.3.1
by cyrillbolliger · 4.7 (38 reviews)

Choose if the featured image should be displayed in the single post/page view or not. This plugin doesn't affect the archives view.

30K+ active installs Updated Feb 16, 2025 Tested to 6.7.2 Requires PHP 5.6
Try Demo Download
Pre-installed Ready in ~10s No card
Conditionally display featured image on singular posts and pages

About Conditionally display featured image on singular posts and pages

This plugin allows you to choose whether or not to display the featured image on individual posts or pages. It adds a checkbox to the featured image panel, giving you control over whether the image is shown in the single view or not. Please note that if your theme has a customized call to load the featured image, this plugin may not work.

Screenshots

Conditionally display featured image on singular posts and pages screenshot
Conditionally display featured image on singular posts and pages screenshot
Conditionally display featured image on singular posts and pages screenshot
Conditionally display featured image on singular posts and pages screenshot
Conditionally display featured image on singular posts and pages screenshot

Frequently asked questions

What does this plugin do?
This plugin allows you to 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.
How do I use this plugin?
The plugin provides a simple checkbox option within the post editor to enable or disable the display of the featured image on individual posts and pages.
Is this plugin compatible with all themes?
This plugin is compatible with most themes. However, if your theme uses a custom method to load the featured image (such as the Twenty Seventeen theme), it may not work. To ensure compatibility, use standard WordPress functions like get_the_post_thumbnail(), wp_get_attachment_image(), or the Post Featured Image block.
Does this plugin cost anything?
No, this plugin is 100% free with no ads, no upsells, and no premium versions.
Does this plugin support WooCommerce?
Yes, this plugin supports WooCommerce product pages.

Changelog

3.3.1

  • Fixed violation of the WordPress coding standards

3.3.0

  • Added support for WooCommerce
  • Fixed bottom margin deprecation notice
  • Updated dependencies

3.2.0

  • Requires at least WordPress 6.6
  • Compatibility up to WordPress 6.7
  • Fixed withState deprecation notice
  • Updated dependencies

3.1.1

  • Compatibility with Gutenberg 16.6.0
  • Updated dependencies

3.0.1

  • Fixes fatal error for users that customized the startup hook so the query could not be set.

3.0.0

  • Improved compatibility with the block editor
  • Updated dependencies

We’ve tested the release thoroughly – however depending on the theme and plugin you use, this release might be breaking in some exceptional cases.

2.14.0

  • The featured image is now displayed inside the query block
  • Small performance and readability improvement
  • Updated dependencies

2.13.0

  • Improved compatibility for block themes
  • The cybocfi_enabled_for_post_type filter now also applies directly to the output in the frontend
  • Refactored plugin architecture from single file to single class per file
  • Updated dependencies

2.12.0

  • Don’t hide featured image from oEmbed requests.
  • Updated dependencies

2.11.0

  • Show deprecation notice if cybocfi_post_type filter is used. Props to @swissspidy for bringing apply_filters_deprecated() to my attention.

2.10.0

  • Deprecated cybocfi_post_type filter in favor of the new cybocfi_enabled_for_post_type filter. Props to @swissspidy for highlighting the issues with cybocfi_post_type.
  • Updated dependencies

2.9.0

  • Added filter to bypass the in_the_loop() test so the plugin can be made compatible with themes that load the featured image outside the main loop.

2.8.2

  • Fixed bug that was hiding the featured image in the latest posts widget. Props to @molcsa for pointing this out.
  • Updated dependencies

2.8.1

  • Extended FAQ
  • Updated dependencies
  • Tested up to WordPress 5.8.2

2.8.0

  • Added hook for early initialization
  • Extended FAQ
  • Small refactorings
  • Updated dependencies

2.7.1

  • Tested up to WordPress 5.7
  • Updated dependencies

2.7.0

  • Added support for the Custom Post Type UI plugin
  • Updated dependencies

2.6.0

  • Added support for the twentynineteen theme

2.5.1

  • Fix: Do not remove the featured image in queries executed after the main query
  • Updated dependencies

2.5.0

  • Respect the cybocfi_hide_by_default filter for programmatically added posts
  • Small refactorings
  • Tested up to WordPress 5.6.0
  • Updated dependencies

2.4.0

  • Added filter to hide featured images by default
  • Tested up to WordPress 5.5.1
  • Extended FAQ
  • Updated dependencies

2.3.1

  • Tested up to WordPress 5.5 (RC1)
  • Extended FAQ
  • Updated dependencies

2.3.0

  • Allow to enable/disable the plugin by post type

2.2.0

  • Allow filtering the featured image checkbox label
  • Update readme
  • Update dependencies

2.1.2

  • Exclude none essential data from SVN

2.1.1

  • Update dependencies

2.1.0

  • Add support for Yoast SEO (don’t filter image for the social header data)

2.0.0

  • Add support for the block editor (Gutenberg)
  • Tested up to WordPress 5.2.2

1.4.0

  • Makes sure, we do only modify the main post
  • Tested up to WordPress 5.0.0

1.3.0

  • Make it more robust so it will also work with Elementor
  • Tested up to WordPress 4.9.6

1.2.2

  • Tested up to WordPress 4.7.3
  • Tested up to WordPress 4.8.0
  • Tested up to WordPress 4.9.0

1.2.1

  • Tested up to WordPress 4.7.2

1.2.0

  • Get ready for language packs (set text domain equal to the name of the plugins folder, remove load_plugin_textdomain)

1.1.3

  • Tested up to WordPress 4.7.0
  • Removed language folder. Languages are now loaded from wordpress.org

1.1.2

  • Improve plugin title
  • Improve checkbox string
  • Improve documentation
  • Updated stable tag

1.1.1

  • Updated stable tag

1.1

  • Extended functionality to pages

1.0

  • Initial public release

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…