12/14/2016 - 2:18 PM

Enable HTML5 Markup

Enable HTML5 Markup

//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- Below is the code to enable HTML5 markup on your site: -->

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

<!-- Note: -->

<!-- Previously the code to enable HTML5 markup was slightly different. While the previously suggested code will not break your site, there will be an error message displayed if Debug mode is enabled. -->

<!-- It is recommended that users update their own functions.php files or download a new copy of the theme as all theme downloads have been updated to reflect the new code. -->