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