Support » How-To and Troubleshooting » Adding Widget Sidebar to All Pages

Adding Widget Sidebar to All Pages

  • I’ve looked around the forums here and cannot find my answer so I apologize in advance if ti’s already in here…

    QUESTION: I’m trying to add my sidebar to all of my WordPress pages but it’s a Widget sidebar. I tried adding the ‘add sidebar’ command to the ‘single.php’ template but it appears at the bottom of the page…not to the side like it does on the hompage.

    Any ideas?

    Thanks in advance!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Bump

    I’m grappling with this one too, using the Kubrick theme. There may be an answer for you on this thread:


    racer: For theme/style issues, post a link to your site.


    I tried the All Sidebar theme but it screws up the Sidebar Widget.


    Here is my site:


    Any takers? 🙂

    Nope. You either use the original K. (= no sidebar on single post view) or you use the All-Sidebar edition.
    If you want widgets with it, make them work:
    (the links for guides)

    Moderator Samuel Wood (Otto)


    WordPress.org Tech Dude

    racerman28: I’m not seeing what you’re talking about. All your pages look fine in Firefox.

    However, your site is seriously broken in IE. Might want to run it through a validator and correct whatever’s wrong with it.

    The question from the original post is easy. You don’t need the All Sidebar theme to have all-sidebars in Kubrick, that is a common myth.

    You already added the get_sidebar command at the bottom of Single.php

    All you need to do now is change the line near the top of the Single.php that says “widecolumn” to “narrowcolumn”.

    Once you’ve done that, if the sidebar still bumps to the bottom it is because you have some content that is too wide in the page, like a picture over 450-wide.

    Hope this helps!


    Thanks! Works perfect now. I appreciate your help!

    Otto42, thanks for the heads up on that…gotts fix that!


    racerman, glad to hear that works for you, just 2 steps to modify the default theme for all-sidebar! (Note that some pages like Search Results might still not show the sidebar… you can make them do it in the same way).

    And when you think you are done then you’ll discover you’ll have to edit the conditionals in the header.php because there is a different bg image for single and other files: there is no grey sidebar bg in single 🙂

    I haven’t had to edit the conditionals in the header.php in the 2 default-theme blogs I’ve switched to all-or-mostly sidebar. Changing “widecolumn” to “narrowcolumn” has that effect of changing the background image to show the sidebar grey stripe, at least in my experience.

    Thanks all. 🙂

    NOW…as Otto informed me my site is broken in IE and I have NO idea how to fix it.

    I have run it through a validator but I cannot find where to fix the errors. (I’m still new to WP and PHP).

    I don’t think it’s a big job to fix but i would be willing to pay someone to help me fix this.



    You can probably do it yourself.
    On the validator page check the Show Source button and click Revalidate.
    Every error line number will become a clickable link taking you to the exact place where the error is in your code and/or post. Try it.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Adding Widget Sidebar to All Pages’ is closed to new replies.