Forums
Forums / Themes and Templates / Second sidebar…problem
(@harvi)
17 years, 1 month ago
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:
<?php if ( function_exists('register_sidebars') ) register_sidebars(2); ?><code></code> Then in single.php I
m using code: <?php include(TEMPLATEPATH . '/sidebar2.php');?>
<?php include(TEMPLATEPATH . '/sidebar2.php');?>
And it doesnt work..I dont know why.. if I change sidebar2.php to sidebar1.php it is ok.
t work..I don
Please, help me. Btw, Im not planning use widgets, Ive got full two sidebars and I want to display it..
m not planning use widgets, I
The topic ‘Second sidebar…problem’ is closed to new replies.