{"id":40138,"date":"2015-11-16T10:46:24","date_gmt":"2015-11-16T10:46:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dynamically-dynamic-sidebar\/"},"modified":"2016-09-09T15:03:21","modified_gmt":"2016-09-09T15:03:21","slug":"dynamically-dynamic-sidebar","status":"publish","type":"plugin","link":"https:\/\/xho.wordpress.org\/plugins\/dynamically-dynamic-sidebar\/","author":5697464,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.7","stable_tag":"0.7","tested":"4.6.30","requires":"4.4","requires_php":"","requires_plugins":"","header_name":"Dynamically Dynamic Sidebar","header_author":"Shinichi Nishikawa","header_description":"","assets_banners_color":"","last_updated":"2016-09-09 15:03:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/nobil.cc","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2113,"num_ratings":0,"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":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.5","0.6","0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1287056","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1287056","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1287056","resolution":"3","location":"assets"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1287056","resolution":"4","location":"assets"}},"screenshots":{"1":"First, you add your own dynamic sidebar areas. It's unlimited.","2":"Widget areas will appear on your admin panel. Put your widgets inside them.","3":"Choose which widget area you want to use for categories, tags and all the custom taxonomy terms.","4":"You can also choose specific sidebar area for each post, page and custom-post-type post."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[168,162,4960],"plugin_category":[43],"plugin_contributors":[86527],"plugin_business_model":[],"class_list":["post-40138","plugin","type-plugin","status-publish","hentry","plugin_tags-sidebar","plugin_tags-widget","plugin_tags-widget-area","plugin_category-customization","plugin_contributors-shinichin","plugin_committers-shinichin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dynamically-dynamic-sidebar.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/dynamically-dynamic-sidebar\/assets\/screenshot-1.jpg?rev=1287056","caption":"First, you add your own dynamic sidebar areas. It's unlimited."},{"src":"https:\/\/ps.w.org\/dynamically-dynamic-sidebar\/assets\/screenshot-2.jpg?rev=1287056","caption":"Widget areas will appear on your admin panel. Put your widgets inside them."},{"src":"https:\/\/ps.w.org\/dynamically-dynamic-sidebar\/assets\/screenshot-3.jpg?rev=1287056","caption":"Choose which widget area you want to use for categories, tags and all the custom taxonomy terms."},{"src":"https:\/\/ps.w.org\/dynamically-dynamic-sidebar\/assets\/screenshot-4.jpg?rev=1287056","caption":"You can also choose specific sidebar area for each post, page and custom-post-type post."}],"raw_content":"<!--section=description-->\n<p>This plugin enables you to create unlimited custom sidebar\/widget areas and switch existing areas. You can do this without touching your theme.<\/p>\n\n<p>This plugin utilizes term meta api and so it works only with WordPress 4.4 and above.<\/p>\n\n<p>Your theme needs to use <code>is_active_sidebar()<\/code> when calling <code>dynamic_sidebar()<\/code> function.<\/p>\n\n<p>This will work.<\/p>\n\n<pre><code>if ( is_active_sidebar( 'sidebar-1' ) ) {\n    dynamic_sidebar( 'sidebar-1' );\n}\n<\/code><\/pre>\n\n<p>This doesn't work.<\/p>\n\n<pre><code>dynamic_sidebar( 'sidebar-1' );\n<\/code><\/pre>\n\n<p>If you only want to output your custom sidebar, put this code on where you want to display the sidebar in your theme.<\/p>\n\n<pre><code>do_action( 'dynamically_dynamic_sidebar' );\n<\/code><\/pre>\n\n<p><a href=\"https:\/\/github.com\/ShinichiNishikawa\/Dynamically-Dynamic-Sidebar\/\">This Plugin published on GitHub.<\/a><\/p>\n\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30a8\u30ea\u30a2\u3092\u3044\u304f\u3064\u3067\u3082\u5b9a\u7fa9\u3057\u3001\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u3001\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u3054\u3068\u306b\u5dee\u3057\u66ff\u3048\u305f\u308a\u3001\u6295\u7a3f\u30fb\u30da\u30fc\u30b8\u30fb\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u304b\u3089\u4f7f\u3044\u305f\u3044\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u6307\u5b9a\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300c\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u300d\u306e\u30bf\u30d6\u3092\u3054\u3089\u3093\u3044\u305f\u3060\u304f\u3068\u3001\u30a4\u30e1\u30fc\u30b8\u304c\u6e67\u304d\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>dynamically-dynamic-sidebar<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <code>\/wp-admin\/themes.php?page=dynamically-dynamic-sidebar<\/code>, which is located under <code>Appearance<\/code><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How many widget areas can I create?<\/dt>\n<dd><p>Unlimited.<\/p><\/dd>\n<dt>How do I switch existing sidebar or widget area?<\/dt>\n<dd><p>Choose the target widget area in admin panel. The admin page for this plugin is located at Admin &gt; Appearance &gt; Dynamically Dynamic Sidebar.<\/p>\n\n<p>You need to make sure that the call of dynamic_sidebar is properly wrapped with is_active_sidebar() conditional tag.<\/p>\n\n<pre><code>if ( is_active_sidebar( 'sidebar-1' ) ) {\n    dynamic_sidebar( 'sidebar-1' );\n}\n<\/code><\/pre>\n\n<p>Or you can just output your dynamically created sidebar with <code>do_action( 'dynamically_dynamic_sidebar' );<\/code>, too.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Released on github<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Get terms ancestors' allocated widget area for posts.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>2016\/05\/16<\/li>\n<li>Bug fix. Now you can reset the dynamically chosen sidebar to default.<\/li>\n<\/ul>","raw_excerpt":"Create unlimited custom sidebar\/widget areas and switch existing areas depending on post, page, custom-post-type post, categories, tags and custom tax &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40138"}],"author":[{"embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shinichin"}],"wp:attachment":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40138"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40138"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40138"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40138"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40138"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}