• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis 2 and HTML5

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Genesis 2 and HTML5

This topic is: not resolved

Tagged: Genesis 2, html5

  • This topic has 5 replies, 4 voices, and was last updated 13 years, 1 month ago by jimdavis46.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 19, 2013 at 6:52 am #41587
    jimdavis46
    Member

    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

    May 19, 2013 at 8:18 am #41590
    Bill Murray
    Member

    Here you go:

    add_theme_support( ‘genesis-html5′ );


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    May 19, 2013 at 8:50 am #41595
    jimdavis46
    Member

    Thanks! Works great.  Screwed up the header in the Minimum Child Theme, but that can be fixed.

    Jim

    June 7, 2013 at 3:34 am #44486
    kriskl
    Participant

    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′ );

     

    thanks

    kris

    June 7, 2013 at 5:58 am #44498
    mmjaeger
    Member

    you add it to your child's theme functions.php file

    June 7, 2013 at 6:16 am #44505
    jimdavis46
    Member

    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.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble