Skip to content

Commit

Permalink
Merge pull request #1546 from roots/html5-gallery
Browse files Browse the repository at this point in the history
Use WP core's HTML5 gallery markup
  • Loading branch information
retlehs committed Sep 23, 2015
2 parents dce3c27 + ded39d8 commit f98db69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit f98db69

Please sign in to comment.