Enable HTML5 Markup for the Genesis Framework

To enable HTML5 markup for the search form, comment form, comment list, galley and caption in the Genesis Framework.

Enable HTML5 Markup for the Genesis Framework
Photo by Fikret tozak / Unsplash

To enable HTML5 markup for the search form, comment form, comment list, galley and caption in the Genesis Framework, add the following to your theme’s functions.php files:

// Add HTML5 markup structure
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) );