Support » Themes and Templates » Add Sidebar to Display per Page in a Custom Theme

  • I am trying to add sidebars to a custom theme so that we can show specific ads on specific pages only.

    The theme comes with 5 sidebars already installed including left col, right col, home left col, home right col, one col, and footer.

    I’ve already tried using Widget Logics plugin to assign the page id by sidebar but that does not help me b/c i need more sidebars created.

    I managed to get the additional sidebars to appear in the admin Widgets section but I when I assign widgets to those pages they still don’t display on the pages.

    Please help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • which theme you are using. through coding that easily possible.

    I am using a theme called TheSource by

    The dev site is here:

    I want to create a sidebar for each of the following pages so we can assign specific ads to specific pages.

    Spur Radio Live
    Talkin w Tana Show
    Womens Ranch Rodeo Association

    Give a try to the custom sidebars plugin

    without coding you will be able to create and assign new sidebars to your posts and pages.

    Hi Brian,

    I am trying to use your plugin per-page-sidebars to display different sidebar per page, I am using twenty ten theme. I followed exact instructions, Activated Customer Sidebar to replace the primary widget area, and then created Customer sidebar for the specific page, everything seems fine. When I finally view that particular page, it does not diaplay the customer sidebar I created, it still displays the old sidebar.

    Please advise, what did I miss? Is this plugin still working?


    Hi Marquex

    I just installed Custom Sidebar plugin today, I am using twenty ten theme. It works for all pages except the post page, same issue with per-page-sidebar plugin.

    Is this a known issue. Please advise how to fix it.


    Hi Fan_Buss, if you are not getting the sidebar in a single post, you can define it in the new post or edit post screen.

    If you are not getting it in your blog page, have a look at the default sidebars inside the custom sidebars options.



    marquex, I built a theme based on MNML 1.3 by Ian Stewart, and I can’t seem to get the custom sidebars plugin to work with it. It won’t replace the main sidebar. And when it’s activated, it actually removes all the widgets from that sidebar. I’ve tried it with other themes applied to a test blog and love how the plug in works, but I can’t seem to get it to work for my theme or MNML. Can you help? My site is



    Brian Layman


    When you create a new page, there will be box below it asking which sidebar to replace.

    Click the check box beside the sidebar you want to replace.

    save the post.

    Then on the widgets page, you will see a new sidebar with the name of that page. Drag the widgets that you desire onto there.



    Thanks for the quick reply, Brian. But I’m still not able to get it to work with my theme. Here is the code for what I think are the relevant parts:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    And for the sidebar.php:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Can you see anything that might be missing in the theme that would cause the custom sidebars not to function?

    Thanks for any help.

    Brian Layman


    No it’s all pretty standard.

    Did you see the new sidebar on the widgets page? It would start with the word “Custom” and did you put at least widgets on it?



    Thanks, Brian!

    Your plugin does the trick! Though I confess, I was actually using the other plugin when I asked the question.

    Is there anyway to streamline the process to add the same sidebar to many pages/posts/categories? Maybe in Quick Edit or something like that? I know it’s called “page per sidebar,” so maybe the answer is “no.” 🙂 But I’ve got a lot of pages and would like to have the same sidebar on different groups.

    I really appreciate your work and replies.



Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Add Sidebar to Display per Page in a Custom Theme’ is closed to new replies.