Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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:


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.