2 replies
Hi Warriors,

As all blogs have a sidebar, mine too. But when I click into individual post, my sidebar disappear, that means all the advertisements and affiliate disappears as well.

May I know how to keep the sidebar there when I go into individual post?
#wordpress
  • Profile picture of the author Eric Lorence
    You have to change to a different theme, or rewrite the theme as to include the sidebar widgets on the post pages.
    {{ DiscussionBoard.errors[265102].message }}
  • Profile picture of the author Bishop81
    You have to add code to your template to be able to keep the sidebar. The default theme does this, which I find annoying.

    Chances are, you'll want to make these changes in your Single Post file:
    Code:
    <div id="content" class="widecolumn">
    would change to
    Code:
    <div id="content" class="narrowcolumn">
    and add this right before the footer.
    Code:
    <?php get_footer(); ?>
    to
    Code:
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    Signature

    I'm tired of my signature... Deleted.

    {{ DiscussionBoard.errors[265105].message }}

Trending Topics