New Sidebar in Child
-
I have a child theme and am adding a new sidebar using the following code:
if (function_exists('register_sidebar')) { register_sidebar( array( 'name' => __( 'Header Area', 'mantra' ), 'id' => 'header-widget-area', 'description' => __( 'top call out', 'mantra' ), 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); }
I have inserted it into my header file like so:
<?php get_sidebar( 'header-widget-area' );?>
Clearly I’ve done this incorrectly but I just am not seeing it. Any help you can give me to wrap this up would be HUGE! Thank you!!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘New Sidebar in Child’ is closed to new replies.