Support » Themes and Templates » Change side bar on post page

  • Can someone tell me how I can get the side bar to change to a different one (that a make) on the post pages from the ones on the main pages?

Viewing 1 replies (of 1 total)
  • You want conditional tags.

    In sidebar.php, something like this:

    <?php if (is_single()){ ?>
    ... put what you want to display on single post pages ...
    <?php }else{ ?>
    ... put what you want on the rest of your blog
    <?php } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Change side bar on post page’ is closed to new replies.