Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress SEO for WordPress Enhancing the SEO of a WordPress Theme Examples of Schema.org in WordPress Themes and Plugins

Shehan Guruge
Shehan Guruge
6,828 Points

Schema Markup

itemscope here defined is different to what is mentioned on schema.org with this theme the item scope is in the header which is fine however it is written as itemscope="itemscope"

schema.org, however, notes this as: <div itemscope itemtype="http://schema.org/respectivecategory">

I have had a look into to this myself and tried it out on WordPress when i view the source code for this information i would see it as follows:

itemscope=""

My question is which is the correct way to mark it up for itemscope I am really keen on this section and how to implement this properly as I see a huge benefit of this schema markups

any questions please feel free to ask and thanks in advance for all the comments and replies.