{"id":25309,"date":"2013-09-20T15:54:20","date_gmt":"2013-09-20T15:54:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/default-post-thumbnail-image\/"},"modified":"2014-09-09T22:37:44","modified_gmt":"2014-09-09T22:37:44","slug":"default-post-thumbnail-image","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/default-post-thumbnail-image\/","author":245391,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.7","stable_tag":"0.7","tested":"4.0.38","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Default Post Thumbnail Image","header_author":"roganty","header_description":"","assets_banners_color":"","last_updated":"2014-09-09 22:37:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/devl.roganty.co.uk\/dpti\/","header_author_uri":"http:\/\/www.roganty.co.uk\/","rating":3,"author_block_rating":0,"active_installs":80,"downloads":5511,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.7":"<p>Adds support for choosing different users avatars<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"985817","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"985817","resolution":"256x256","location":"assets"},"icon.svg":{"filename":"icon.svg","revision":"985817","resolution":"","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6","0.7"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2264,86,1326],"plugin_category":[50],"plugin_contributors":[84486],"plugin_business_model":[],"class_list":["post-25309","plugin","type-plugin","status-closed","hentry","plugin_tags-attachment","plugin_tags-post","plugin_tags-thumbnail","plugin_category-media","plugin_contributors-roganty","plugin_committers-roganty"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/default-post-thumbnail-image\/assets\/icon.svg?rev=985817","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/default-post-thumbnail-image.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Set a default thumbnail using either an image from your image gallery or use your gravatar for posts with no thumbnail set.<\/p>\n\n<p>This plugin requires your theme to have support for post thumbnails enabled.\nAlthough no extra code needs to be added to your theme, some alterations might be required for trouble free usage.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the file and extract it in the \/wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the Settings -&gt; Media page and select an image.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>My selected post thumbnail does not show, why not?<\/dt>\n<dd><p>Although this plugin hooks into the <code>get_the_post_thumbnail()<\/code> function to show your selected image it does not alter your posts, so <code>has_post_thumbnail()<\/code> returns false.<\/p>\n\n<p>To display the thumbnail without fail remove any if conditions to just leave the <code>get_the_post_thumbnail()<\/code> function<\/p>\n\n<p>for example, change this\n    \n    \n    \n    Some other html\n    <\/p>\n\n<p>to this\n    <\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Version 0.7<\/h4>\n\n<p>This version adds the option to choose a different users avatar to use instead of the site admin<\/p>\n\n<h4>Version 0.6<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Set a default thumbnail using an image from your gallery or use your gravatar for posts with no thumbnail set","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25309","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=25309"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/roganty"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25309"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25309"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25309"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25309"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25309"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}