don't understand multiple sidebars -widget area not showing up.
-
my buddy asked me to add a custom drop down menu to a woo theme he was using. I wanted to use a jQuery mega menu in the header but I don’t understand how to register multiple sidebars, especially in the moo themes sidebar-init.php:
<?php // Register widgetized areas function the_widgets_init() { if ( !function_exists('register_sidebars') ) return; register_sidebar(array('name' => 'Sidebar','id' => 'sidebar-1','before_widget' => '<div id="%1$s" class="widget %2$s">','after_widget' => '</div>','before_title' => '<h3>','after_title' => '<span class="fold"> </span></h3>')); } add_action( 'init', 'the_widgets_init' ); ?>
I know I have to use register_sidebars(n) but not sure how to do it.
thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘don't understand multiple sidebars -widget area not showing up.’ is closed to new replies.