• Resolved sithicus

    (@sithicus)


    I wanted to call a seperate sidebar for the actual post pages usually found on single.php basically what is happening if I change the get_sidebar to say.. get_sidebar2 the page doesn’t render.. why?

Viewing 1 replies (of 1 total)
  • Because get_sidebar() is a WordPress function, whereas get_sidebar2() is an undefined, nonexistent one. Try this instead:

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

    This assumes ‘sidebar2.php’ is the name of your second sidebar.

Viewing 1 replies (of 1 total)

The topic ‘Different Sidebar for Post Pages’ is closed to new replies.