{"id":24907,"date":"2013-08-23T18:05:16","date_gmt":"2013-08-23T18:05:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/advanced-custom-fields-widget-area-field\/"},"modified":"2014-10-12T01:27:55","modified_gmt":"2014-10-12T01:27:55","slug":"advanced-custom-fields-widget-area-field","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/advanced-custom-fields-widget-area-field\/","author":9853906,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"4.0.38","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Advanced Custom Fields: Widget Area Field","header_author":"Dustin Filippini","header_description":"","assets_banners_color":"","last_updated":"2014-10-12 01:27:55","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/dustyf.com\/donate","header_plugin_uri":"https:\/\/github.com\/dustyf\/acf-widget-area","header_author_uri":"http:\/\/dustyf.com","rating":4.8,"author_block_rating":0,"active_installs":400,"downloads":13432,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,2217,2010,162,241],"plugin_category":[43,59],"plugin_contributors":[82703],"plugin_business_model":[],"class_list":["post-24907","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-custom-fields","plugin_tags-widget","plugin_tags-widgets","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-dustyf","plugin_committers-dustyf"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/advanced-custom-fields-widget-area-field.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Easily add and change Widget Areas on any page template using Advanced Custom Fields and the Advanced Custom Fields: Widget Area Field plugin.  This plugin will add a field with a drop-down selection of all registered Widget Areas in your WordPress installation.  You can select which widget area you would like to display in your template files when using ACF's get_field and the_field functions.<\/p>\n\n<p>As of version 1.0, support for ACF v5 is included.<\/p>\n\n<h4>This Plugin Requires Advanced Custom Fields Version 4 or Higher<\/h4>\n\n<p>Advanced Custom Fields can be found in the <a href=\"http:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\">WordPress Plugin Repository Here<\/a>.<\/p>\n\n<h4>Compatibility<\/h4>\n\n<p>This add-on will work with:<\/p>\n\n<ul>\n<li>Advanced Custom Fields version 4 and up<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This add-on can be treated as both a WP plugin and a theme include.<\/p>\n\n<h4>Plugin<\/h4>\n\n<ol>\n<li>Install through the WordPress plugin repository<\/li>\n<li>Activate the plugin via the Plugins admin page<\/li>\n<\/ol>\n\n<h4>Plugin (Manual)<\/h4>\n\n<ol>\n<li>Copy the 'acf-widget_area' folder into your plugins folder<\/li>\n<li>Activate the plugin via the Plugins admin page<\/li>\n<\/ol>\n\n<h4>Include<\/h4>\n\n<ol>\n<li>Copy the 'acf-widget_area' folder into your theme folder (can use sub folders).<\/li>\n<li><p>Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-widget_area.php file. You should also change my_register_fields function name to something unique.)<\/p>\n\n<p>add_action('acf\/register_fields', 'my_register_fields');<\/p>\n\n<p>function my_register_fields() {\n    include_once('acf-widget_area\/acf-widget_area.php');\n}<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How does this work?<\/dt>\n<dd><p>For this plugin to work, you need to have the <a href=\"http:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields<\/a> Plugin installed.  Once installed, you will be able to select a Widget Area as one of your custom fields.<\/p><\/dd>\n<dt>How do I add new Widget Areas?<\/dt>\n<dd><p>The WordPress Codex has an article on <a href=\"http:\/\/codex.wordpress.org\/Widgetizing_Themes\">Widgetizing Themes<\/a> which includes \"How to Register a Widget Area\".  If you add a new Widget Area (also called sidebar) with this method it will be available in Appearance &gt; Widgets and also able to be selected in your new Widget Area Field.<\/p><\/dd>\n<dt>How do I display my Widget Area Field?<\/dt>\n<dd><p>The Advanced Custom Fields website has documentation on <a href=\"http:\/\/www.advancedcustomfields.com\/resources\/getting-started\/displaying-custom-field-values-in-your-theme\/\">displaying custom field values<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Add ACF v5 support<\/li>\n<li>Fixed an issue where it should have been buffering output<\/li>\n<li>Add the ability to return the name of widget area instead of just the HTML output<\/li>\n<li>Adding some escaping, better spacing, commenting<\/li>\n<li>Better translation support for the few strings included<\/li>\n<li>Fix bugs preventing from being used in Repeater Fields<\/li>\n<li>Add checks for ACF existing and other checks<\/li>\n<\/ul>","raw_excerpt":"Add-on to Advanced Custom Fields giving you a field to display Widget Areas.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24907"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dustyf"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24907"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24907"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24907"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24907"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24907"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}