how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets
Add this below code into your functions.php file
if ( function_exists('register_sidebar') )
register_sidebar(array('name'=>'sidebar1',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
',
));
register_sidebar(array('name'=>'sidebar2',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
',
));
Source:
http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/
if ( function_exists('register_sidebar') )
register_sidebar(array('name'=>'sidebar1',
'before_widget' => '',
'after_widget' => '',
'before_title' => '
',
'after_title' => '
',));
register_sidebar(array('name'=>'sidebar2',
'before_widget' => '',
'after_widget' => '',
'before_title' => '
',
'after_title' => '
',));
Add this below code where you want to show your sidebar
Sidebar1 code goes like this
|| !dynamic_sidebar('sidebar1') ) : ?>
Sidebar2 code goes like this
|| !dynamic_sidebar('sidebar2') ) : ?>
If you want to add style then
|| !dynamic_sidebar('sidebar2') ) : ?>
Source:
http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/
http://www.tastyplacement.com/add-sidebar-wordpress
http://howtomatter.com/how-to-create-a-new-widget-area/