Merge pull request #1546 from roots/html5-gallery
Use WP core's HTML5 gallery markup
This commit is contained in:
@@ -34,7 +34,7 @@ function setup() {
|
|||||||
|
|
||||||
// Add HTML5 markup for captions
|
// Add HTML5 markup for captions
|
||||||
// http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
|
// http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
|
||||||
add_theme_support('html5', ['caption', 'comment-form', 'comment-list']);
|
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery']);
|
||||||
|
|
||||||
// Tell the TinyMCE editor to use a custom stylesheet
|
// Tell the TinyMCE editor to use a custom stylesheet
|
||||||
add_editor_style(Assets\asset_path('styles/editor-style.css'));
|
add_editor_style(Assets\asset_path('styles/editor-style.css'));
|
||||||
|
|||||||
Reference in New Issue
Block a user