The introduction information for Genesis 2 says "With a single line of code in a child theme, Genesis will now output HTML5 markup in place of the old XHTML tags." I have searched the site and can't seem to find this "single line of code" to add to my child theme. Please provide a link to this code.
Thanks! Works great. Screwed up the header in the Minimum Child Theme, but that can be fixed.
Hi, sorry a follow up,
I am using enterprise theme,
to enable html5 with genesis2.0 where do I add this code?
add_theme_support( ‘genesis-html5′ );
you add it to your child's theme functions.php file
I added this to the child theme functions.php file:
/** Add HTML5 Support **/
add_theme_support( 'genesis-html5' );
Note that the single quotation marks are not curly quotes as used by many word processors. They are straight single quotes used by most simple text editors.
Make a backup copy of your functions.php file before you make any modifications.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!