Skip to content

Instantly share code, notes, and snippets.

@jdcauley
Last active January 4, 2016 03:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdcauley/8563527 to your computer and use it in GitHub Desktop.
Save jdcauley/8563527 to your computer and use it in GitHub Desktop.
register_sidebar(array(
'name' => __('Footer Left', 'roots'),
'id' => 'footer-left',
'before_widget' => '<section class="widget %1$s %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
register_sidebar(array(
'name' => __('Footer Center', 'roots'),
'id' => 'footer-center',
'before_widget' => '<section class="widget %1$s %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
register_sidebar(array(
'name' => __('Footer Right', 'roots'),
'id' => 'footer-right',
'before_widget' => '<section class="widget %1$s %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment