Add new Sidebar
-
Hi,
I’m new to WP and have a question related to the Main Sidebar. I’m using Twelve Eleven template which has only one Main Sidebar and I need two.
I’ve modified the function.php file and added the following code which has created new sidebar called Main Sidebar10. I’ve also created a file called sidebar10-page.php and added its reference into the function.php.
My problem is that when I go into a page I can’t see the Main Sidebar10 as option in the Template.
Any suggestion?
Thanks for your help
Marcoregister_sidebar( array(
‘name’ => __( ‘Main Sidebar10’, ‘twentyeleven’ ),
‘id’ => ‘sidebar-10’,
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => “</aside>”,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’,
- The topic ‘Add new Sidebar’ is closed to new replies.