• I’m using WordPress as a CMS and I was wondering…is it possible to have 2 different sidebars? I mean, the “regular” part of the site needs to have one particular sidebar with its own content and the “blog” part needs to have the normal blog sidebar stuff (categories, archives, etc). How would I do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s very easy to do. Just put

    <?php include(TEMPLATEPATH . '/sidebar2.php'); ?>

    in place of the usual <?php get_sidebar(); ?> in the templates for the “regular” parts of the site where you want the alternative sidebar.

    Obviously you have to create a sidebar2.php file in your theme index!

    Thread Starter susien

    (@susien)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Two different sidebars?’ is closed to new replies.