Skip to content

Instantly share code, notes, and snippets.

@wplit
Created June 16, 2019 08:15
Show Gist options
  • Select an option

  • Save wplit/2afdf834b680b62d0308661b59b13005 to your computer and use it in GitHub Desktop.

Select an option

Save wplit/2afdf834b680b62d0308661b59b13005 to your computer and use it in GitHub Desktop.
Add html5 support for comments, search, gallery and captions.
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment