Support » Fixing WordPress » How do I keep the side bar in posts?

  • Resolved Kenny1264


    When ever someone looks at a post on my blog, the side bar isn’t on that page.

    Anyway to have it there?

Viewing 15 replies - 1 through 15 (of 16 total)
  • esmi


    Forum Moderator

    You’d need to add it to your theme’s single.php file. Have a look in index.php for something like <?php get_sidebar();?>. Note where it is placed within the code and copy that line to roughly the same position within your single.php file.

    I tried that and it didn’t work, it just ended up on the bottom of the page.

    Anyone? I really need help with this!

    If it’s appearing at the bottom, it sounds like the width of your main content area plus the width of your sidebar is too wide for your theme.

    It’s hard for a stranger to fix, as there are so many themes for WP. Which one are you using? Have you tried another (or the default theme)?

    I’m using this theme.

    I really like it so I don’t want to have to change.

    Try a different theme, one that shows sidebars on the single post pages. Your current theme does not.

    You think I’m stupid? <__<

    I know that theme doesn’t show them, that’s why I’m asking how to make them show.

    Post the code for your single.php file. Maybe we can help you better if we see what you are working with. This may also be solved using css. Go ahead and post the stylesheet as well.

    I posted the theme I use, so can’t you get that from there? :S

    nevermind dude. You don’t really want help.

    What? :S

    I do need help with this. D:

    Now will you help me?


    [huge chunk of code moderated - please use a pastebin or link to file]

    I think what Wee Beastie is getting at is that it’s a bit cheeky asking someone to install a new theme just to help you debug some html + css. Post some code, and maybe someone will be kind enough to help.

    I did post it, it’s right above you.



    Forum Moderator

    Especially when you consider that there are currently more than 850 themes in the WordPress Themes directory. Funnily enough, most people aren’t intimately familiar with every one of them.

    @kenny1264: You’ll need to add <?php get_sidebar();?> where you want the sidebar to appear. Of course, then you have to build a sidebar template too.

    might start you in the right direction.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘How do I keep the side bar in posts?’ is closed to new replies.