Close #646 - Replace ID's with classes
This commit is contained in:
@@ -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>',
|
||||
|
||||
Reference in New Issue
Block a user