forked from mirror/_s
Changed widget wrapper from div to section
Per https://github.com/WordPress/twentysixteen/issues/355
This commit is contained in:
parent
15cef7e795
commit
77e3087c2e
|
@ -102,8 +102,8 @@ function _s_widgets_init() {
|
||||||
'name' => esc_html__( 'Sidebar', '_s' ),
|
'name' => esc_html__( 'Sidebar', '_s' ),
|
||||||
'id' => 'sidebar-1',
|
'id' => 'sidebar-1',
|
||||||
'description' => '',
|
'description' => '',
|
||||||
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||||
'after_widget' => '</div>',
|
'after_widget' => '</section>',
|
||||||
'before_title' => '<h2 class="widget-title">',
|
'before_title' => '<h2 class="widget-title">',
|
||||||
'after_title' => '</h2>',
|
'after_title' => '</h2>',
|
||||||
) );
|
) );
|
||||||
|
|
Reference in New Issue