Support » Themes and Templates » Second sidebar…problem

  • Hi,
    I want to create second sidebar in WordPress 2.7 and include it in single.php .

    I`ve got 2 files: sidebar1.php and sidebar2.php . First of them I include in index.php, archives and other pages.

    In functions.php I`ve got code:

    if ( function_exists('register_sidebars') )
    Then in single.php I

    m using code:
    <?php include(TEMPLATEPATH . '/sidebar2.php');?>

    And it doesnt work..I dont know why.. if I change sidebar2.php to sidebar1.php it is ok.

    Please, help me. Btw, Im not planning use widgets, Ive got full two sidebars and I want to display it..

  • The topic ‘Second sidebar…problem’ is closed to new replies.