Adding HTML5 markup structure

Community Forums Forums Design Tips and Tricks Adding HTML5 markup structure

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  braddalton 1 year, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #54002

    chonk
    Participant
    Post count: 4

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

    #54026

    braddalton
    Participant
    Post count: 10353

    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.


    #54042

    chonk
    Participant
    Post count: 4

    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.

    #54043

    braddalton
    Participant
    Post count: 10353

    It has nothing to do with the WordPress 3.6 update.

    You will need to install Genesis 2.0


    #54122

    chonk
    Participant
    Post count: 4

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

    #54140

    chonk
    Participant
    Post count: 4

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

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

    #54187

    braddalton
    Participant
    Post count: 10353
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.