Forums

[resolved] Widgets are not on post pages (3 posts)

  1. loganx80
    Member
    Posted 4 years ago #

    Am I missing something here? I created a new site using the default blue theme and really haven't modified it much at all. I added a few widgets Sidebar1 which works fine.

    Why don't the widgets show up on the individual post pages? They do show up on category and archive as well as static pages.

    http://www.lifeofaninvestor.com

  2. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    That's just how the WordPress default theme works. Should be easy to add back in though:

    Open your theme's "single.php" file in a text editor and add <?php get_sidebar(); ?> right above <?php get_footer(); ?> at the bottom of the page.

    Then, change

    <div id="content" class="widecolumn">

    to:

    <div id="content" class="narrowcolumn">

    near the top of the page.

    Please let me know if this works.

  3. loganx80
    Member
    Posted 4 years ago #

    That did it. Thanks a lot. I had tried adding the get_sidebar() before, but I didn't know about changing the class of the div, so instead it made the sidebar show up at the bottom of the page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.