From ded39d88cfe1f955fdfa502cce11f46f35f3624e Mon Sep 17 00:00:00 2001 From: Ben Word Date: Tue, 22 Sep 2015 21:52:36 -0500 Subject: [PATCH] Use WP core's HTML5 gallery markup --- lib/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.php b/lib/init.php index cd00d41..528c543 100644 --- a/lib/init.php +++ b/lib/init.php @@ -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'));