Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Gist for my "WordPress: Managing Your Theme's Footer With Widgets." tutorial/article on
function register_widget_areas() {
register_sidebar( array(
'name' => 'Footer area one',
'id' => 'footer_area_one',
'description' => 'This widget area discription',
'before_widget' => '<section class="footer-area footer-area-one">',
'after_widget' => '</section>',
'before_title' => '<h4>',
'after_title' => '</h4>',
add_action( 'widgets_init', 'register_widget_areas' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.