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:
if ( function_exists('register_sidebar') )
register_sidebars(1, array('name'=>'Sidebar') );
register_sidebars(1, array('name'=>'Home') );
register_sidebars(1, array('name'=>'Pages') );
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?
I’m using WP 2.02.
- The topic ‘Widgetizing Theme: Multiple sidebars?’ is closed to new replies.