{"id":64205,"date":"2017-03-24T14:04:53","date_gmt":"2017-03-24T14:04:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dynamic-custom-header-replacement\/"},"modified":"2017-06-26T12:53:12","modified_gmt":"2017-06-26T12:53:12","slug":"dynamic-custom-header-replacement","status":"publish","type":"plugin","link":"https:\/\/oci.wordpress.org\/plugins\/dynamic-custom-header-replacement\/","author":15366043,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"4.8.28","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"Dynamic Custom Header Replacement","header_author":"enteractie - online exposure","header_description":"","assets_banners_color":"aea8a2","last_updated":"2017-06-26 12:53:12","external_support_url":"","external_repository_url":"","donate_link":"#","header_plugin_uri":"https:\/\/www.enteractie.nl","header_author_uri":"https:\/\/www.enteractie.nl","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2354,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>N\/A<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1623961","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1623961","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1623961","resolution":"1544x500","location":"assets"},"banner-722x250.jpg":{"filename":"banner-722x250.jpg","revision":"1623961","resolution":"722x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3244,1795,34303,128033],"plugin_category":[],"plugin_contributors":[137376],"plugin_business_model":[],"class_list":["post-64205","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-header","plugin_tags-featured-image","plugin_tags-header-image","plugin_tags-twenty-seventeen","plugin_contributors-enteractie","plugin_committers-enteractie"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dynamic-custom-header-replacement\/assets\/icon-128x128.jpg?rev=1623961","icon_2x":"https:\/\/ps.w.org\/dynamic-custom-header-replacement\/assets\/icon-256x256.jpg?rev=1623961","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol><\/dd>\n<dt>How can I disable the regular featured image from displaying on a single post or page?<\/dt>\n<dd><p>For the Twenty Seventeen theme you can change the header.php file to disable the regular featured image.\nFor example:\n(lines 44 - 49)<\/p>\n\n<pre><code>    \/\/ If a regular post or page, and not the front page, show the featured image.\n    \/\/  if ( has_post_thumbnail() &amp;&amp; ( is_single() || ( is_page() &amp;&amp; ! twentyseventeen_is_frontpage() ) ) ) :\n    \/\/    echo '&lt;div class=\"single-featured-image-header\"&gt;';\n    \/\/    the_post_thumbnail( 'twentyseventeen-featured-image' );\n    \/\/    echo '&lt;\/div&gt;&lt;!-- .single-featured-image-header --&gt;';\n    \/\/  endif;\n<\/code><\/pre><\/dd>\n<dt>What about foo bar?<\/dt>\n<dd><p>N\/A<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added width and height variables<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Solved misconfigured variables<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>Changed function names to comply with policy<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Allows the custom header image to be replaced by the featured image of the current post or page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/64205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=64205"}],"author":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enteractie"}],"wp:attachment":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=64205"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=64205"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=64205"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=64205"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=64205"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=64205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}