WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Sidebars
[resolved] Can't get it to work? (2 posts)

  1. densesthawk
    Member
    Posted 2 years ago #

    Hi,

    I can't seem to get this to work correctly. I changed the $MultipleSidebars; like in your screen pic, but it refers to the else portion of the if statement. Can you help? I've gone thru this multiple times, won't work properly.

    Thanks!

    http://wordpress.org/extend/plugins/multiple-sidebars/

  2. Andrico
    Member
    Plugin Author

    Posted 1 year ago #

    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. 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.
      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).
      Insert into default sidebar of theme, the MultipleSidebars Widget. Or go to Appearance > Editor and replace the following code to Sidebar.php
    <?php
    dynamic_sidebar();
    ?>

    for this

    <?php
    MS_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.

    Frosado, Thanks for the guide!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.