Opis
This plugin allows the custom header image to be replaced by the featured image of the current post or page, if present. Otherwise the 'default’ custom header image is used.
Instalacja
- Upload the plugin files to the
/wp-content/plugins/plugin-namedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins’ screen in WordPress
Najczęściej zadawane pytania
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/plugin-namedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins’ screen in WordPress
- Upload the plugin files to the
- 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
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„Dynamic Custom Header Replacement” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “Dynamic Custom Header Replacement” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
1.2
- Added width and height variables
1.1
- Solved misconfigured variables
1.01
- Changed function names to comply with policy
1.0
- Initial release