Skip to content

Instantly share code, notes, and snippets.


gWorldz/functions.php Secret

Last active Dec 16, 2018
What would you like to do?
Registering Dynamic Widget Area Snippet 1 of 3
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