{"id":26038,"date":"2013-11-03T17:43:24","date_gmt":"2013-11-03T17:43:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/force-featured-image\/"},"modified":"2015-02-25T01:43:54","modified_gmt":"2015-02-25T01:43:54","slug":"force-featured-image","status":"publish","type":"plugin","link":"https:\/\/hat.wordpress.org\/plugins\/force-featured-image\/","author":11551004,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.0","stable_tag":"trunk","tested":"3.7.41","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Force Featured Image","header_author":"X-Team, Jonathan Bardo","header_description":"","assets_banners_color":"fcc903","last_updated":"2015-02-25 01:43:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/x-team.com","header_author_uri":"http:\/\/x-team.com\/wordpress\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4039,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"799342","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"799342","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1245432","resolution":"1","location":"assets"}},"screenshots":{"1":"The plugin shows the user a warning when he doesn't respect the image dimension"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,838,1795,133,1719],"plugin_category":[50],"plugin_contributors":[77889,78438,78325],"plugin_business_model":[],"class_list":["post-26038","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-featured","plugin_tags-featured-image","plugin_tags-image","plugin_tags-tinymce","plugin_category-media","plugin_contributors-jonathanbardo","plugin_contributors-westonruter","plugin_contributors-xwp","plugin_committers-jonathanbardo","plugin_committers-westonruter"],"banners":{"banner":"https:\/\/ps.w.org\/force-featured-image\/assets\/banner-772x250.png?rev=799342","banner_2x":"https:\/\/ps.w.org\/force-featured-image\/assets\/banner-1544x500.png?rev=799342","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/force-featured-image_fcc903.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/force-featured-image\/assets\/screenshot-1.png?rev=1245432","caption":"The plugin shows the user a warning when he doesn't respect the image dimension"}],"raw_content":"<!--section=description-->\n<p><strong>Development of this plugin is done <a href=\"https:\/\/github.com\/x-team\/wp-force-featured-image\">on GitHub<\/a>. Pull requests welcome. Please see <a href=\"https:\/\/github.com\/x-team\/wp-force-featured-image\/issues\">issues<\/a> reported there before going to the plugin forum.<\/strong><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>force-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><p>This plugin lets you specify which post-type requires to force a featured image to. It will also let you specify minimum dimensions for the image.\nLet's say, for example, you want to force a user to set an image on the default post type with the following dimensions (400px * 400px). Put this code in the function.php of your theme :<\/p>\n\n<pre><code>function theme_force_featured_image( $options ){\n    $options['post'] = array(\n        'width'  =&gt; 400,\n        'height' =&gt; 400,\n    );\n\n    return $options;\n}\nadd_filter( 'force_featured_image_post_type', 'theme_force_featured_image' );\n<\/code><\/pre><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Add the ability to force a featured image with dimensions<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<p>First Release<\/p>","raw_excerpt":"Ever wanted to force a user to publish a post with a featured image of a certain dimension? Search no more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26038"}],"author":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonathanbardo"}],"wp:attachment":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26038"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26038"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26038"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26038"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26038"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}