Conditionally display featured image on singular posts and pages

Omschrijving

Important notice

If your theme does a customized call to load the featured image (like the Twenty Seventeen theme), this plugin might not work! Use get_the_post_thumbnail() or wp_get_attachment_image() to be sure it will work.

Description

This plugin lets you choose for each post or page, if the featured image should be shown in the single view. This can get handy, if you use the featured image to show a thumbnail on the archives or front page but you don\’t want the featured image to be shown on every posts view itself.

The plugin adds a simple checkbox to the featured image panel (or meta box if you are using the classic editor), that lets you choose, if the featured image will be shown in the singular view or not.

Schermafdrukken

  • Backend
  • Frontend

Installatie

  1. Upload the plugin files to the /wp-content/plugins/conditional-featured-image directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress

Beoordelingen

19 februari 2019
This was the last missing piece in putting together my WP website the way I had it pictured. I need the featured image thumbnail on my page-list links but not at the top of the actual page. The plugin took care of that in 30 seconds flat. And I don't know why the warning about not working with Gutenberg. For me it works exactly as intended on WP 5.0.3 with pages containing Gutenberg paragraph blocks.
22 augustus 2017
Exactly what I needed - works fine. Thanks! 🙂
8 augustus 2017
Works well and as expected. However, one of my sites use DIVI by Elegant Themes, and if editing a post through their Visual Builder interface the Featured Image tick reverts to default (which is un-ticked) and needs to be reset every time.
8 mei 2017
I needed to include featured images with posts to enable thumbnails on post notifications via the Post Notif plugin. But I didn't want to include the featured image with my posts. There are other uses for featured images that WP obviously didn't anticipate. This plugin solves the problem excellent work!
Lees alle 7 beoordelingen

Bijdragers & ontwikkelaars

“Conditionally display featured image on singular posts and pages” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Conditionally display featured image on singular posts and pages” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.

Vertaal “Conditionally display featured image on singular posts and pages” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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 lanuage 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