{"id":11609,"date":"2009-06-25T23:27:37","date_gmt":"2009-06-25T21:27:37","guid":{"rendered":"https:\/\/mamchenkov.net\/blog\/?p=112"},"modified":"2009-06-25T23:27:37","modified_gmt":"2009-06-25T21:27:37","slug":"wordpress-dynamic-sidebars-take-it-easy-with-widget-control","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/","title":{"rendered":"WordPress dynamic sidebars : take it easy with widget control"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go.\u00a0 The beauty of it is how simple it is for the theme author to define and style such an area, and how simple it is for the theme user to configure which widgets go where.\u00a0 One line of code for the theme designer, and a user-friendly administration interface with drag-and-drop support for the end user.<\/p>\n<p>As simple as it is, I&#8217;ve seen it abused by theme authors one too many times.\u00a0 Consider an example (borrowed from a really nice theme in the wild, which I won&#8217;t name):<\/p>\n<pre lang=\"php\" line=\"1\">\n<!-- sidebar east START -->\n<div id=\"eastsidebar\" class=\"sidebar\">\n    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>\n\n    <!-- categories -->\n    <div class=\"widget widget_categories\">\n        <h3>Categories<\/h3>\n        <ul>\n            <?php wp_list_cats('sort_column=name&#038;optioncount=0&#038;depth=1'); ?>\n        <\/ul>\n    <\/div>\n\n<?php endif; ?>\n<\/div>\n<\/pre>\n<p>What happens here is the following: in line 3 we check if this version of WordPress supports dynamic sidebars (these were added in WordPress 2.2.0, if I remember correctly).  If they are supported, we insert all widgets that were dragged and dropped into &#8216;east_sidebar&#8217; dynamic sidebar, using WordPress administration.<\/p>\n<p>Now for the tricky bit.  If the function does not exist or something went wrong while displaying the widgets, we fall back onto some defaults.  In this case we show the list of categories.<\/p>\n<p>What&#8217;s so tricky about it?  The trick bit about it is the return value of the <em>dynamic_sidebar()<\/em> function.  It returns a boolean value.  True if the sidebar was found and called, and false if sidebar was not found or was not called.  This &#8220;was not called&#8221; actually means &#8220;failed to find at least one proper widget&#8221;.<\/p>\n<p>What happens in practice is this.  You find this nice theme that you want to use for your blog.  You install and preview your site.  Everything looks good.  The sidebar looks good too, but you don&#8217;t particularly like the selection or the order of the widgets.  So you go to the administration interface and what do you see there?  An empty sidebar.  Instinctively, you drag-and-drop a widget into the sidebar.  Refresh your site and you see something totally unexpected.  The sidebar that had a bunch of widgets now only has one &#8211; the one you drag-and-dropped. Weird.<\/p>\n<p>That is because when you installed the theme, it registered a new sidebar, which is by default empty.  When the sidebar of your site is displayed, <em>dynamic_sidebar()<\/em> function returns false and the theme falls back onto default widgets in the theme.  Once you have at least one widget dropped into sidebar, that doesn&#8217;t happen any more and your lonely widget is displayed now.<\/p>\n<p>That&#8217;s not a big problem with simple themes, which have only one or two dynamic sidebars.  However, more complex themes with four, five, six, and more sidebars become annoying.  Because there is usually some default pre-selection of widgets for each of those sidebars, and in case you don&#8217;t like it, you&#8217;ll need to do a lot of work in that administration.<\/p>\n<p>Even worse, if you want to leave some of those sidebars empty.  If there are defaults set in the theme, the only way for you to silence the sidebar is edit the theme source code.  In the example above that would removing everything from line 4 to line 12.  If you have more than one sidebar that you want to silent, you&#8217;ll need to repeat the procedure for every one of them.<\/p>\n<p>So, what&#8217;s the solution?  What&#8217;s the right way?  To be honest, I don&#8217;t know.  From the point of view of somewhat experienced end-user, I&#8217;d prefer no default widgets in the theme source code.  Let them come up empty by default &#8211; I&#8217;ll drag-and-drop whatever I want using the user-friendly administration.  On the other hand, from the point of view of non-experienced end-user, empty sidebars might confuse the heck out of me.  I need to know about widgets to solve the problem, and unfortunately not all WordPress users do.  Also, I guess it&#8217;s a bit harder for the theme authors to promote their themes if they come up with empty sidebars once installed.<\/p>\n<p>One solution that might work is a theme option.  Show default widgets by default, but allow to silence them all from the theme controls.  That would work as a compromise and avoid unnecessary source code editing.  Also, I think it would be pretty straight forward to implement (check for the value of the theme option instead of the return value of the <em>dynamic_sidebar()<\/em>).<\/p>\n<p>What do you think?<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go.\u00a0 The beauty of it is how simple it is for the theme author to define and style such an area, and how &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress dynamic sidebars : take it easy with widget control<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,62,60],"tags":[1364,1907],"keyring_services":[],"class_list":["post-11609","post","type-post","status-publish","format-standard","hentry","category-general","category-technology","category-wordpress","tag-wordpress-themes","tag-wordpress-widgets"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-06-25T21:27:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-06-25T21:27:37+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#blogposting\",\"name\":\"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov\",\"headline\":\"WordPress dynamic sidebars : take it easy with widget control\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"},\"datePublished\":\"2009-06-25T23:27:37+02:00\",\"dateModified\":\"2009-06-25T23:27:37+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#webpage\"},\"articleSection\":\"All, Technology, WordPress, WordPress themes, WordPress widgets\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"position\":3,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#listItem\",\"name\":\"WordPress dynamic sidebars : take it easy with widget control\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#listItem\",\"position\":4,\"name\":\"WordPress dynamic sidebars : take it easy with widget control\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/\",\"name\":\"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov\",\"description\":\"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2009\\\/06\\\/25\\\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2009-06-25T23:27:37+02:00\",\"dateModified\":\"2009-06-25T23:27:37+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov","description":"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#blogposting","name":"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov","headline":"WordPress dynamic sidebars : take it easy with widget control","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"},"datePublished":"2009-06-25T23:27:37+02:00","dateModified":"2009-06-25T23:27:37+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#webpage"},"articleSection":"All, Technology, WordPress, WordPress themes, WordPress widgets"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","name":"WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","position":3,"name":"WordPress","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#listItem","name":"WordPress dynamic sidebars : take it easy with widget control"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#listItem","position":4,"name":"WordPress dynamic sidebars : take it easy with widget control","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","name":"WordPress"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/","name":"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov","description":"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2009-06-25T23:27:37+02:00","dateModified":"2009-06-25T23:27:37+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov","og:description":"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how","og:url":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2009-06-25T21:27:37+00:00","article:modified_time":"2009-06-25T21:27:37+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"WordPress dynamic sidebars : take it easy with widget control - Leonid Mamchenkov","twitter:description":"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go. The beauty of it is how simple it is for the theme author to define and style such an area, and how","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"11609","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 21:22:40","updated":"2026-01-15 04:09:49","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/\" title=\"WordPress\">WordPress<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWordPress dynamic sidebars : take it easy with widget control\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"WordPress","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/"},{"label":"WordPress dynamic sidebars : take it easy with widget control","link":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":11587,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/16\/wordpress-theme-change-check-list\/","url_meta":{"origin":11609,"position":0},"title":"WordPress theme change check list","author":"Leonid Mamchenkov","date":"June 16, 2009","format":false,"excerpt":"I came across this post, with a self explanatory title - \"13 Most Important Things to do When Changing the Wordpress Theme\".\u00a0 This is particularly relevant to me, since I am updating my theme right this moment.\u00a0\u00a0 And so, I thought, I'd just revisit the list items of that post\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16823,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/10\/11\/wordpress-p2-company-intranet-in-5-minutes\/","url_meta":{"origin":11609,"position":1},"title":"WordPress + P2 = Company Intranet in 5 minutes","author":"Leonid Mamchenkov","date":"October 11, 2012","format":false,"excerpt":"I've mentioned a few times already that I became a big fan of P2 theme for WordPress. \u00a0I currently maintain multiple installations of it, just because it is so easy to setup and start using. \u00a0I have it as company Intranet or as a project collaboration tool. \u00a0It's like a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/10\/p2-screenshot-500x322.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10579,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/11\/13\/looking-for-a-new-wordpress-theme\/","url_meta":{"origin":11609,"position":2},"title":"Looking for a new WordPress theme","author":"Leonid Mamchenkov","date":"November 13, 2006","format":false,"excerpt":"I've been looking for a new WordPress theme for this blog, but I can't find anything that I like enough. Maybe I'm not ready yet, or maybe it's just that time of year. So, I thought, I'd ask for help from you guys. Here are a few things that I'm\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9519,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/10\/02\/new-theme-and-new-functionality\/","url_meta":{"origin":11609,"position":3},"title":"New theme and new functionality","author":"Leonid Mamchenkov","date":"October 2, 2005","format":false,"excerpt":"As you can see (unless, of course, you're an RSS reader) I am working on a new theme for the site. The new theme is wider and utilizes screen space better. It also looks better and more consistent across different browsers. But the new look is not the only thing\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16434,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/11\/favepersonal-1-1-new-look-old-feel\/","url_meta":{"origin":11609,"position":4},"title":"FavePersonal 1.1 &#8211; new look, old feel","author":"Leonid Mamchenkov","date":"July 11, 2012","format":false,"excerpt":"Welcome to the new look of mamchenkov.net! \u00a0Before I tell you the long story, here is a customary front page screenshot (because, practice shows, it won't look anything like that in a few days). So, now for the long story. \u00a0First of all, why, why the change? \u00a0As always, for\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/07\/FavePersonal-500x240.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12784,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/22\/yet-another-new-look-carrington-theme-and-more\/","url_meta":{"origin":11609,"position":5},"title":"Yet another new look : Carrington theme and more","author":"Leonid Mamchenkov","date":"July 22, 2010","format":false,"excerpt":"It's been a while since I changed the theme of the site. \u00a0Today I felt like I needed it again. \u00a0I looked around, checked a few options, and decided to go with the Carrington theme from the excellent folks at Crowd Favorite. \u00a0It looks simple, yet elegant, fresh and modern.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/11609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=11609"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/11609\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=11609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=11609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=11609"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=11609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}