Merge pull request #380 from ChrisClayton/patch-4
Change widgets to use <section> instead of <article>
This commit is contained in:
@@ -58,8 +58,8 @@ function roots_register_sidebars() {
|
|||||||
'id' => 'roots-' . sanitize_title($sidebar),
|
'id' => 'roots-' . sanitize_title($sidebar),
|
||||||
'name' => __($sidebar, 'roots'),
|
'name' => __($sidebar, 'roots'),
|
||||||
'description' => __($sidebar, 'roots'),
|
'description' => __($sidebar, 'roots'),
|
||||||
'before_widget' => '<article id="%1$s" class="widget %2$s"><div class="widget-inner">',
|
'before_widget' => '<section id="%1$s" class="widget %2$s"><div class="widget-inner">',
|
||||||
'after_widget' => '</div></article>',
|
'after_widget' => '</div></section>',
|
||||||
'before_title' => '<h3>',
|
'before_title' => '<h3>',
|
||||||
'after_title' => '</h3>'
|
'after_title' => '</h3>'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user