• I am currently running Magazine 3 theme and I am looking to add a second dynamic sidebar to specific category pages.

    Here is the code I am currently running:

    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'name' => 'HomePage Sidebar',
              'description' => __( 'The primary widget area on Homepage'),
            'before_widget' => '<div class="widget"><div class="section %2$s">',
            'after_widget' => '</div></div>',
            'before_title' => '<h3>',
            'after_title' => '</h3></div><div class="sectioncont">',
        ));
         register_sidebar( array(
    	'name' => 'Footer Block 1',
    'description' => __( 'Footer Block 1'),
    	'before_widget' => '<div class="widget">',
    	'after_widget' => '</div>',
    	'before_title' => '<h3>',
    	'after_title' => '</h3>'
    ) );
        register_sidebar( array(
    	'name' => 'Footer Block 2',
    'description' => __( 'Footer Block 2'),
    	'before_widget' => '<div class="widget">',
    	'after_widget' => '</div>',
    	'before_title' => '<h3>',
    	'after_title' => '</h3>'
    ) );
        register_sidebar( array(
    	'name' => 'Footer Block 3',
    'description' => __( 'Footer Block 3'),
    	'before_widget' => '<div class="widget">',
    	'after_widget' => '</div>',
    	'before_title' => '<h3>',
    	'after_title' => '</h3>'
    ) );

    Homepage sidebar is the one that shows up on every post. If I add a second dynamic sidebar, does it get its own listing above Footer 1?

  • The topic ‘Confused about adding second dynamic sidebar’ is closed to new replies.