Use WP core's HTML5 gallery markup

This commit is contained in:
Ben Word
2015-09-22 21:52:36 -05:00
parent dce3c27b12
commit ded39d88cf

View File

@@ -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'));