forked from mirror/_s
Add HTML5 support for WordPress galleries.
This commit is contained in:
parent
18928f50d6
commit
85bce0cc74
|
@ -55,7 +55,12 @@ function _s_setup() {
|
||||||
) ) );
|
) ) );
|
||||||
|
|
||||||
// Enable support for HTML5 markup.
|
// Enable support for HTML5 markup.
|
||||||
add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form', ) );
|
add_theme_support( 'html5', array(
|
||||||
|
'comment-list',
|
||||||
|
'search-form',
|
||||||
|
'comment-form',
|
||||||
|
'gallery',
|
||||||
|
) );
|
||||||
}
|
}
|
||||||
endif; // _s_setup
|
endif; // _s_setup
|
||||||
add_action( 'after_setup_theme', '_s_setup' );
|
add_action( 'after_setup_theme', '_s_setup' );
|
||||||
|
|
Reference in New Issue