Is the current Graphene theme HTML 5 compliant

  • Jim Jones

    #9785

    First I want to say thank you for the Graphene theme. It has proven to be fun to work with and professional in its appearance and design. I am fairly new to the many ways to work with it.

    I recently installed a new plugin. The instructions with the plugin allow for various selections one of which is the use of Schema.org and Microdata. There is a warning that comes with the plugin that says the theme it’s being used with must be HTML5 ready to use this feature. I have hunted everywhere I can think of and I can find anything that says the theme is HTML5 compliant. Is the current version of the Graphene theme HTML 5 compliant?

    I am trying to markup my code to help Google+ to find the correct image to display when I post a link on Google+ to our blog. I can’t see how I can revise our child theme by changing the header.php for the markup. If I made the changes there they would appear on every post made on Google+ the same way. With my limit knowledge the plugin seems the easiest way to go.

    Other ideas are appreciated. Thank you in advance for your help.

    Mod

    Kenneth John Odle

    #44558

    Please refrain from creating duplicate posts, as it really clogs things up. I saw your query at work on my lunch break and had to wait until I got home to respond. Now I have the additional step of deleting your duplicate post and typing this paragraph.

    Quote:
    I have hunted everywhere I can think of and I can find anything that says the theme is HTML5 compliant.

    Use your browser’s “View Source” function to examine the source code. Look for the doctype element which is at the top of the page. You will see this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    If you Google that, the first result leads you to this page:

    http://www.w3.org/QA/2002/04/valid-dtd-list.html

    which tells you that Graphene is XHTML 1.0 Strict.

    Quote:
    I can’t see how I can revise our child theme by changing the header.php for the markup.

    You can’t. The doctype dictates how the entire HTML is written, so changing the doctype (while possible through the use of a child theme) will get you nowhere. Doing so will simply cause search engines to see a lot of errors on your site.

    It’s possible that there are other plugins which will accomplish the same or similar things that you are trying to do, but I don’t know of any off hand. (I tend to worry about my own context and let search engines do what they do.) That said, there are LOTS of plugins out there and so the thing you are searching for may be out there.

    Jim Jones

    #44559

    Thank you Ken for your help. I thought my first post was in the wrong area which is why I posted again. Won’t happen again.

    Mod

    Kenneth John Odle

    #44560
    Quote:
    I thought my first post was in the wrong area which is why I posted again.

    That’s not a problem. Just let us know to delete or move your other post.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.