Use WP core's HTML5 gallery markup
This commit is contained in:
@@ -34,7 +34,7 @@ function setup() {
|
||||
|
||||
// Add HTML5 markup for captions
|
||||
// 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
|
||||
add_editor_style(Assets\asset_path('styles/editor-style.css'));
|
||||
|
||||
Reference in New Issue
Block a user