{"id":28361,"date":"2014-03-18T16:21:41","date_gmt":"2014-03-18T16:21:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mfi-reloaded\/"},"modified":"2014-03-18T16:22:06","modified_gmt":"2014-03-18T16:22:06","slug":"mfi-reloaded","status":"publish","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/mfi-reloaded\/","author":168057,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"3.6.1","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Multiple Featured Images: Reloaded","header_author":"Nick Ohrn of Plugin-Developer.com","header_description":"","assets_banners_color":"","last_updated":"2014-03-18 16:22:06","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/example.com\/","header_plugin_uri":"https:\/\/github.com\/nickohrn\/mfi-reloaded","header_author_uri":"http:\/\/plugin-developer.com\/","rating":3.3,"author_block_rating":0,"active_installs":10,"downloads":1872,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>If you were previously using the <code>mfi_reloaded_add_image_picker<\/code> template tag to add image pickers, you should switch to the new <code>add_theme_support<\/code> method.<\/p>","1.0.0-RC1":"<p>Initial release.<\/p>"},"ratings":{"1":"1","2":"1","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":[83,163],"plugin_category":[50],"plugin_contributors":[79208],"plugin_business_model":[],"class_list":["post-28361","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-images","plugin_category-media","plugin_contributors-nickohrn","plugin_committers-nickohrn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mfi-reloaded.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows developers to easily register additional image pickers for any post type.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>mfi-reloaded<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the provided template tags to create image pickers and display the data you need<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I add an image picker?<\/dt>\n<dd><p>Easy! In your theme's functions.php file, add the following code:<\/p>\n\n<pre><code>function register_custom_image_pickers() {\n    add_theme_support('mfi-reloaded', array(\n        'hero-image' =&gt; array(\n            'post_types' =&gt; array('post'),\n            'labels' =&gt; array(\n                'name' =&gt; __('Hero Image'),\n                'set' =&gt; __('Set hero image'),\n                'remove' =&gt; __('Remove hero image'),\n                'popup_title' =&gt; __('Set Hero Image'),\n                'popup_select' =&gt; __('Set hero image'),\n            ),\n        ),\n        'sidekick-image' =&gt; array(\n            'post_types' =&gt; array('post'),\n            'labels' =&gt; array(\n                'name' =&gt; __('Sidekick Image'),\n                'set' =&gt; __('Set sidekick image'),\n                'remove' =&gt; __('Remove sidekick image'),\n                'popup_title' =&gt; __('Set Sidekick Image'),\n                'popup_select' =&gt; __('Set sidekick image'),\n            ),\n        ),\n    ));\n}\nadd_action('after_setup_theme', 'register_custom_image_pickers');\n<\/code><\/pre>\n\n<p>Feel free to provide whatever values you need.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Changed from using a custom template tag for adding image pickers to the WordPress function <code>add_theme_support<\/code><\/li>\n<\/ul>\n\n<h4>1.0.0-RC1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin allows developers to easily register additional image pickers for any post type.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28361"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nickohrn"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28361"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28361"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28361"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28361"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28361"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}