Close #646 - Replace ID's with classes

This commit is contained in:
Ben Word
2013-01-27 20:32:57 -06:00
parent 52064b609d
commit 17c2dfa691
11 changed files with 34 additions and 31 deletions

View File

@@ -5,7 +5,7 @@ function roots_widgets_init() {
register_sidebar(array(
'name' => __('Primary Sidebar', 'roots'),
'id' => 'sidebar-primary',
'before_widget' => '<section id="%1$s" class="widget %2$s"><div class="widget-inner">',
'before_widget' => '<section class="widget %1$s %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
@@ -14,7 +14,7 @@ function roots_widgets_init() {
register_sidebar(array(
'name' => __('Footer', 'roots'),
'id' => 'sidebar-footer',
'before_widget' => '<section id="%1$s" class="widget %2$s"><div class="widget-inner">',
'before_widget' => '<section class="widget %1$s %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',