Title: [Plugin: Multiple Sidebars] $MultipleSidebars -&gt; dynamic_sidebar() returns false
Last modified: August 20, 2016

---

# [Plugin: Multiple Sidebars] $MultipleSidebars -> dynamic_sidebar() returns false

 *  [limazita](https://wordpress.org/support/users/limazita/)
 * (@limazita)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-multiple-sidebars-multiplesidebars-dynamic_sidebar-returns-false/)
 * Hi,
 * This plugin is a great idea, would be perfect if it works. I have installed the
   plugin and created the sidebars, added the code into the sidebar file, but the
   sidebar is always blank. So I did some debugging with echo statements, found 
   out that $MultipleSidebars -> dynamic_sidebar() always returns false. Is there
   anyway to fix this? Thanks!
 * [http://wordpress.org/extend/plugins/multiple-sidebars/](http://wordpress.org/extend/plugins/multiple-sidebars/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Andrico](https://wordpress.org/support/users/andrico/)
 * (@andrico)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-multiple-sidebars-multiplesidebars-dynamic_sidebar-returns-false/#post-2987177)
 * Hello!
    Before `$MultipleSidebars -> dynamic_sidebar()` you put that code `global
   $MultipleSidebar`?. Try that. Also, in your theme, you have, without the plugin,
   some default sidebar? if so, put the widget “MultipleSidebar” the default sidebar
   of your theme.
 * Anything you ask me again.
    Sorry for the delay and for my english. I speak Spanish.
 * Thank you!
 *  [F R](https://wordpress.org/support/users/frosado/)
 * (@frosado)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-multiple-sidebars-multiplesidebars-dynamic_sidebar-returns-false/#post-2987189)
 * If it helps, these are the steps we took. Step 3b was our problem:
 * 1) Download, install and activate the Plugin.
 * 2) Go to the new Sidebars menu and DEFINE one or more new custom sidebars. Enter
   their name and add a brief COMMENT to describe them. (I say DEFINE because you
   actually create the content for the sidebars in Step 3.)
 * 3) Go to Appearance > Widgets. You will now see the sidebars you created on the
   right. (a) Add the new Multiple Sidebars Widget to the Default item on the right.(
   We did NOT add it to the Sidebar item, we added it to Default.) (b) Add your 
   content into each of the new Sidebar items on the right. This is where you actually
   get to create your sidebar items with the relevant text, graphics, etc.
 * 4) Create or Edit the page, post, or item where you want to use the new sidebars.
   A new section on the right should allow you to activate or deactivate the new
   Sidebars to add them to the page, post, etc. You can order them vertically (top
   and bottom).
 * 5) Go to Appearance > Editor and add the following code to Sidebar.php (We replaced
   everything on our old Sidebar.php with this code, which we pasted inside <div
   > and </div> tags, but maybe the div’s don’t matter.)
 * >  <?php
   >  global $MultipleSidebars; $MultipleSidebars -> dynamic_sidebar(); ?
   > >
 * That is it. The pages should now display the sidebar that you activated for each
   of them with the content that you gave them in the Widget’s page. There is also
   a sub-menu called OPTIONS inside the Sidebars menu where you can activate specific
   Sidebars as default for new pages, posts, etc.
 * I hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Multiple Sidebars] $MultipleSidebars -> dynamic_sidebar() returns
false’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-sidebars_a4a4a4.svg)
 * [Multiple Sidebars](https://wordpress.org/plugins/multiple-sidebars/)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-sidebars/reviews/)

## Tags

 * [dynamic_sidebar()](https://wordpress.org/support/topic-tag/dynamic_sidebar/)

 * 2 replies
 * 3 participants
 * Last reply from: [F R](https://wordpress.org/support/users/frosado/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-multiple-sidebars-multiplesidebars-dynamic_sidebar-returns-false/#post-2987189)
 * Status: not resolved