{"id":20367,"date":"2012-10-14T20:33:21","date_gmt":"2012-10-14T20:33:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/markup-to-featured-image\/"},"modified":"2012-10-14T20:33:21","modified_gmt":"2012-10-14T20:33:21","slug":"markup-to-featured-image","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/markup-to-featured-image\/","author":13467,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0.0","tested":"3.4.2","requires":"2.9.1","requires_php":"","requires_plugins":"","header_name":"Markup to Featured Image","header_author":"Ian Beck","header_description":"","assets_banners_color":"","last_updated":"2012-10-14 20:33:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/markup-to-featured-image\/","header_author_uri":"http:\/\/beckism.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":5271,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1795,133,86,166,1326],"plugin_category":[50],"plugin_contributors":[91532],"plugin_business_model":[],"class_list":["post-20367","plugin","type-plugin","status-publish","hentry","plugin_tags-featured-image","plugin_tags-image","plugin_tags-post","plugin_tags-posts","plugin_tags-thumbnail","plugin_category-media","plugin_contributors-beckism","plugin_committers-beckism"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/markup-to-featured-image.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Markup to Featured Image will automatically generate a featured image when you publish a post, with the intent of allowing you to publish posts with featured images from third-party clients like MarsEdit.<\/p>\n\n<p>To add a featured image to your post, include one of the following markup variants in your post's content:<\/p>\n\n<pre><code>&lt;img src=\"\/path\/to\/image.jpg\" data-featured-image=\"keep\" \/&gt;\n&lt;img src=\"\/path\/to\/image.jpg\" data-featured-image=\"strip\" \/&gt;\n&lt;!--featured-image:\/path\/to\/image\/.jpg--&gt;\n<\/code><\/pre>\n\n<p>If you use an <code>&lt;img&gt;<\/code> element, the values of the <code>data-featured-image<\/code> attribute specify whether the image should be displayed when the post is shown on your site (<code>keep<\/code>) or ignored when the post is displayed (<code>strip<\/code>). The order of attributes in your <code>&lt;img&gt;<\/code> tag (and whether you include other attributes, like width\/height, title, alt, etc.) doesn't matter. You can make it as complicated or simple as you like.<\/p>\n\n<p>If the post already has a featured image, the plugin will do nothing (version 1.0 does <em>not<\/em> allow updating the thumbnail by updating the markup).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload directory <code>markup-to-featured-image<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress<\/li>\n<li>That's it! Enjoy being able to publish posts with featured images from anywhere<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release; heavily based off of v3.3.0 of Adity Mooley's <a href=\"http:\/\/wordpress.org\/extend\/plugins\/auto-post-thumbnail\/\">Auto Post Thumbnail<\/a> plugin<\/li>\n<\/ul>","raw_excerpt":"Automatically set the featured image (formerly the post thumbnail) for a post based on custom markup in the body text.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20367"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/beckism"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20367"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20367"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20367"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20367"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20367"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}