-
-
Save gWorldz/76273b5901e1b5c4759b to your computer and use it in GitHub Desktop.
Registering Dynamic Widget Area Snippet 1 of 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exodus_widgets_init() { | |
register_sidebar( array( | |
'name' => __( 'Footer Area Four', 'twentyeleven-exodus' ), | |
'id' => 'sidebar-6', | |
'description' => __( 'An optional full width widget area for your site footer', 'twentyeleven-exodus' ), | |
'before_widget' => '<aside id="%1$s" class="widget %2$s">', | |
'after_widget' => "</aside>", | |
'before_title' => '<h3 class="widget-title">', | |
'after_title' => '</h3>', | |
) ); | |
} | |
add_action( 'widgets_init', 'exodus_widgets_init', 99 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment