• 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

Adding HTML5 markup structure

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 › Design Tips and Tricks › Adding HTML5 markup structure

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 11 years, 9 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 3, 2013 at 5:09 pm #54002
    chonk
    Member

    Hi,
    I'm adding this code to my functions.php but it's not working, nothing is changing on website.

    I'm using 3.6 WP with latest beta of Genesis.

    ---

    //* Add HTML5 markup structure
    add_theme_support( 'html5' );

    August 3, 2013 at 9:11 pm #54026
    Brad Dalton
    Participant

    You will also need to convert your CSS.

    Here's are the tools http://www.briangardner.com/code/genesis-html5-markup/

    Make sure you take a backup of your child theme first and store it locally.


    Tutorials for StudioPress Themes.

    August 3, 2013 at 11:52 pm #54042
    chonk
    Member

    I did convert my css. It's not the problem. I mean, normally when i add html5 support from functions.php, with the old css file site need to be broken. When i look source code, xhtml is still there. So the problem is, it doesn't change to markup after 3.6 update.

    August 3, 2013 at 11:54 pm #54043
    Brad Dalton
    Participant

    It has nothing to do with the WordPress 3.6 update.

    You will need to install Genesis 2.0


    Tutorials for StudioPress Themes.

    August 4, 2013 at 10:29 am #54122
    chonk
    Member

    I already installed 2.0 rc2 with 3.6. Problem is fixed somehow, i didn't understand. Thanks for helping.

    August 4, 2013 at 12:27 pm #54140
    chonk
    Member

    The problem fixed with adding genesis-html5 code instead of html5 to functions.php.

    //* Add HTML5 markup structure
    add_theme_support( ‘genesis-html5′ );

    August 4, 2013 at 10:45 pm #54187
    Brad Dalton
    Participant

    Thanks for sharing.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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