{"id":14440,"date":"2011-08-14T09:42:17","date_gmt":"2011-08-14T09:42:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/header-image-description\/"},"modified":"2011-08-14T09:42:17","modified_gmt":"2011-08-14T09:42:17","slug":"header-image-description","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/header-image-description\/","author":187052,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.1","tested":"3.2.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Header Image Description","header_author":"Aleksandar Uro\u0161evi\u0107","header_description":"","assets_banners_color":"","last_updated":"2011-08-14 09:42:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=Q6Q762MQ97XJ6","header_plugin_uri":"http:\/\/blog.urosevic.net\/wordpress\/header-image-description\/","header_author_uri":"http:\/\/urosevic.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2049,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539287","resolution":"1","location":"plugin"}},"screenshots":{"1":"A header image description set to TITLE displays in tooltip when hover header image."}},"plugin_section":[],"plugin_tags":[2210,1431,133,34302,7847],"plugin_category":[50],"plugin_contributors":[79024],"plugin_business_model":[],"class_list":["post-14440","plugin","type-plugin","status-closed","hentry","plugin_tags-description","plugin_tags-header","plugin_tags-image","plugin_tags-twenty-ten","plugin_tags-twenty-eleven","plugin_category-media","plugin_contributors-urkekg","plugin_committers-urkekg"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/header-image-description.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/header-image-description\/trunk\/screenshot-1.png?rev=1539287","caption":"A header image description set to TITLE displays in tooltip when hover header image."}],"raw_content":"<!--section=description-->\n<p>Grab header image description from hardcoded description in functions.php or custom header additions and return it for usage in template files. Primary support Twenty Ten and Twenty Elevent themes, but others is also supported.<\/p>\n\n<p>If header image does not have description (uploaded image), blog name and tagline is used.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>header-image-description<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add to template file <code>&lt;?php header_image_desc(); ?&gt;<\/code> in place where you wish to print out header image description.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why this extension?<\/dt>\n<dd><p>To provide valid XHTML code with dinamic header image description.<\/p><\/dd>\n<dt>Where to add this code?<\/dt>\n<dd><p>Open <code>header.php<\/code> template file, find line <code>&lt;img src=\"&lt;?php header_image(); ?&gt;\" width=\"&lt;?php echo HEADER_IMAGE_WIDTH; ?&gt;\" height=\"&lt;?php echo HEADER_IMAGE_HEIGHT; ?&gt;\" alt=\"\" \/&gt;<\/code> (line 77 in Twenty Ten and 94 in Twenty Eleven), and replace <code>alt=\"\"<\/code> with <code>alt=\"&lt;?php header_image_desc(); ?&gt;\"<\/code>.<\/p>\n\n<p>You can also add <code>title=\"&lt;?php header_image_desc(); ?&gt;\"<\/code> before img closing tag <code>\/&gt;<\/code>, so on hover header image visitor get description in tooltip.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Grab predefined header image description to be used for ALT, TITLE or other in template files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14440","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=14440"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/urkekg"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14440"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14440"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14440"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14440"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14440"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}