You’ll have to do two things: first, register the sidebars with different names like so:
register_sidebar( array(‘name’=>’sidebar-left’) );
register_sidebar( array(‘name’=>’sidebar-right’) );
Second, when calling dynamic_sidebar
pass the appropriate name of the sidebar to the function:
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar-left’) ) : ?>
<?php endif; ?>
or
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar-right’) ) : ?>
<?php endif; ?>
You can read more about that in the docs.
It’s working perfectly. Thank you very much! I really appreciate it. =D
it does not work in wp 2.8.x stable, its loosing widgets.. what the hell is going on with wordpress