Widgetizing Theme: Multiple sidebars?
-
I use 3 different sidebars in my theme. There is a home, pages and default sidebar. I have had success with making one sidebar widget friendly… but 3?
Php is not my strong suit. Here is the code that I tried in function.php of the theme:
<code>
< ?php
if ( function_exists('register_sidebar') )
register_sidebars(1, array('name'=>'Sidebar') );
register_sidebars(1, array('name'=>'Home') );
register_sidebars(1, array('name'=>'Pages') );
?></code>
Errors occured when commenting on a blog post, which leads me to believe it’s not right. It appeared to work, but then the errors…
Anyone have any ideas on how to create the right code?
Thanks,
Pwinkle
p.s.
I’m using WP 2.02.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Widgetizing Theme: Multiple sidebars?’ is closed to new replies.