Allows the custom header image to be replaced by the featured image of the current post or page.
Author: | enteractie - online exposure (profile at wordpress.org) |
WordPress version required: | 4.6 |
WordPress version tested: | 4.8 |
Plugin version: | 1.2 |
Added to WordPress repository: | 24-03-2017 |
Last updated: | 26-06-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://www.enteractie.nl |
Total downloads: | 1 200 |
Active installs: | 20+ |
Click to start download
|
FAQ
Installation Instructions
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
How can I disable the regular featured image from displaying on a single post or page?
For the Twenty Seventeen theme you can change the header.php file to disable the regular featured image.
For example:
(lines 44 – 49)
// If a regular post or page, and not the front page, show the featured image.
// if ( has_post_thumbnail() && ( is_single() || ( is_page() && ! twentyseventeen_is_frontpage() ) ) ) :
// echo '<div class="single-featured-image-header">';
// the_post_thumbnail( 'twentyseventeen-featured-image' );
// echo '</div><!-- .single-featured-image-header -->';
// endif;
What about foo bar?
N/A
ChangeLog
1.2
- Added width and height variables
1.1
- Solved misconfigured variables
1.01
- Changed function names to comply with policy
1.0