{"id":44612,"date":"2013-01-18T04:48:56","date_gmt":"2013-01-18T04:48:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom2012header\/"},"modified":"2013-01-18T04:48:56","modified_gmt":"2013-01-18T04:48:56","slug":"custom2012header","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/custom2012header\/","author":10381203,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Custom 2012 Header","header_author":"paulwp (code) & leejosepho (plugin)","header_description":"","assets_banners_color":"","last_updated":"2013-01-18 04:48:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/wordpress.org\/support\/topic\/setting-default-header-image-in-child-theme?replies=12","rating":5,"author_block_rating":0,"active_installs":0,"downloads":630,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"<code>1-custom-header-no-title.png<\/code>","2":"<code>2-custom-header-with-title.png<\/code>","3":"<code>3-live-site-with-this-plugin.png<\/code>"}},"plugin_section":[],"plugin_tags":[3244],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-44612","plugin","type-plugin","status-closed","hentry","plugin_tags-custom-header","plugin_committers-leejosepho"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom2012header.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>After you have placed any header image named <code>custom-head1000.png<\/code> within an <code>images<\/code> folder inside your Twenty Twelve Child Theme, simply activate this plugin and your new \"Custom 2012 Header\" will appear.<\/p>\n <p>Note: There is a <code>custom-head1000.png<\/code> image inside an <code>images<\/code> folder inside this plugin's folder, and you can copy that <code>custom-head1000.png<\/code> image into your Twenty Twelve Child Theme's <code>images<\/code> folder to get started here, if you wish.<\/p>\n <p>Here are this plugin's inital settings for the <code>custom-head1000.png<\/code> image it expects to find within <code>images<\/code> inside your Twenty Twelve Child Theme:         \/\/ Set height and width, with a maximum value for the width.             'height'                 =&gt; 250, \/\/ enter your own desired height here             'width'                  =&gt; 1000, \/\/ enter your own desired width here             'max-width'              =&gt; 2000,<\/p>\n <p>Here are some additional settings you can change by editing this plugin's <code>custom-2012-header.php<\/code> file: \/\/ Change color for site name and tagline \/\/ change <code>custom-head1000.png<\/code> to any other file name as long as you do the same in your Child Theme's <code>images<\/code> folder.<\/p>\n <p>Note: Any future update to this plugin will remind you to make a backup of your edited settings prior to accepting the plugin update. Or, if you wish, just change this plugin's name and you will never be prompted for an update.<\/p>\n <p>If you might want to know beforehand, here is how this plugin works:<\/p>\n <pre><code>\/\/ action: first remove a default action from Twenty Twelve remove_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' ); \/\/ action: next define new $args function nny_custom_header_setup() { \/\/ (and more in that area of code) <\/code><\/pre>\n <p>\/\/ action: now add it the same way Twenty Twelve does add_action( 'after_setup_theme', 'nny_custom_header_setup' );`<\/p>\n <p>And for that, many thanks to coder <code>paulwp<\/code> in the <code>wordpress.org<\/code> forums: http:\/\/wordpress.org\/support\/topic\/setting-default-header-image-in-child-theme?replies=12<\/p>\n\n<!--section=installation-->\n<p>Assuming you already have a Twenty Twelve Child Theme: 1. Go to <code>Plugins &gt; Add New<\/code> on your Dashboard and search for this <code>Custom 2012 Header<\/code> plugin;* 2. Click \"Install Now\" to install <code>Custom 2012 Header<\/code>; ** Alternative: Upload <code>Custom 2012 Header<\/code> to your <code>\/wp-content\/plugins\/<\/code> directory; 3. Do whatever you must to be sure you have <code>custom-head1000.png<\/code> inside <code>images<\/code> within your Twenty Twelve Child Theme folder; 4. Activate <code>Custom 2012 Header<\/code>.<\/p>\n\n<!--section=faq-->\n<p>None so far.<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>","raw_excerpt":"This plugin defines and implements any .png image named custom-head1000.png first placed within your Twenty Twelve Child Theme&#039;s images folder.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=44612"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/leejosepho"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44612"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44612"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44612"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44612"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44612"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}