• 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

Default Schema Markup Incorrect?

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 › Default Schema Markup Incorrect?

This topic is: not resolved

Tagged: schema

  • This topic has 6 replies, 4 voices, and was last updated 12 years, 8 months ago by Brad.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 14, 2013 at 5:39 am #66608
    motty07
    Member

    Hi

    I’m just wondering whether the schema markup that comes out of the box with Genesis (Metro Pro at least) is incorrect.

    If you look at the markup that is produced for a post you will see it’s basically this:

    <body itemscope="itemscope" itemtype="http://schema.org/WebPage">
    <header class="site-header" role="banner" itemscope="itemscope" itemtype="http://schema.org/WPHeader"></header>
    <nav class="nav-primary" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"></nav>

    <main class="content" role="main" itemprop="mainContentOfPage">
    <article itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
    <header>
    <h1>ARTICLE TITLE</h1> </header>

    TEXT OF ARTICLE

    </article>

    <article itemprop="comment" itemscope="itemscope" itemtype="http://schema.org/UserComments">
    COMMENT 1
    </article>
    <article itemprop="comment" itemscope="itemscope" itemtype="http://schema.org/UserComments">
    COMMENT 2
    </article>

    </main>

    <aside class="sidebar sidebar-primary widget-area" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar">
    SIDEBAR
    </aside>

    </body>

    The thing I notice about this is that the comments do not fall within the itemscope of the article ‘Creative Work’ (the actual article). Doesn’t this mean that the search engines will interpret the comments as being about the webpage and not the article?

    If you look at the guidance on the official page: http://schema.org/WebPage

    You will see that the reviews or comments for the book fall within the itemscope of the schema.org/Book and NOT schema.org/Webpage.

    This seems to be the case on major sites using schema markup (yelp etc). The reviews/comments fall within the itemscope of whatever they are reviewing (restaurant etc.) and not the webpage.

    Incidentally, I’m using a custom post type to write my review about a hotel. User reviews come in the comments. I was initially going to change the schema.org/CreativeWork to schema.org/Hotel but then saw that the user reviews would fall outside the scope of schema.org/Hotel.

    Your thoughts and solution please.


    David Mottershead Web Design

    October 14, 2013 at 5:45 am #66611
    Brad Dalton
    Participant

    You can customize it easily using the Genesis Schema plugin


    Tutorials for StudioPress Themes.

    October 14, 2013 at 5:52 am #66613
    motty07
    Member

    Thanks Brad. I realise I can customise it.

    I'm just wondering whether my thoughts are correct?

    As I understand an itemscope should contain all element relating to it. And for an article that should include the comments/reviews.

    If I am right, isn't this default a bit dangerous? I doubt the majority of people using Genesis would look into this in detail. And doesn't that mean that there are lots of sites out there where the comments are being seen by the search engines as not related to the article?


    David Mottershead Web Design

    October 14, 2013 at 6:33 am #66620
    motty07
    Member

    Further more, on Genesis all comments are separate articles. Surely they should be nested within the main article. This site seems to think so:

    http://html5doctor.com/the-article-element/


    David Mottershead Web Design

    October 14, 2013 at 9:12 am #66652
    Brad Dalton
    Participant

    I think SEO is an opinion and everyone has one.

    Personally, i don't use any SEO plugins however i would use the Genesis Schema plugin for a niche site.


    Tutorials for StudioPress Themes.

    October 14, 2013 at 10:47 am #66673
    Summer
    Member

    I'm still wrapping my brain around all the schema info out there, but it looks like this plugin doesn't support custom post types.

    Bummer, I have a couple of niche sites where this little assist would be helpful 🙂


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    November 1, 2013 at 4:35 pm #70399
    Brad
    Member

    Sorry I'm so late here but Microdata Manager does support custom post types

    In your functions file, add this:

    add_post_type_support( 'your-cpt-name', array( 'microdata-manager' ) );

    Replace "your-cpt-name" with the actual name of your custom post type

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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