Guide to Schema.org markup for Rich Snippets

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

We are frequently asked how to get those nice looking search results with the additional information such as star rating and price like the example below:

Google rich snippet example

These are called rich snippets and you get these by adding Schema markup in the source code of your content.  Bing, Google and Yandex use this markup to present rich snippets in their search results.

Schema markup in All in One SEO Pack

All in One SEO Pack outputs Schema.org markup using a format called JSON-LD in the HEAD of your page source code. The markup we add is specific for web pages, articles (posts), categories, tags and search results.

All in One SEO Pack also outputs markup for the Google Sitelinks Searchbox and the Google Knowledge Graph including:

You can control this schema by going to All in One SEO > General Settings > Schema Settings.

Schema markup not in All in One SEO Pack

At this time, All in One SEO Pack does not add markup for other types of rich snippets such as products.  This is to avoid conflicting with markup output by other plugins.  To add these types of rich snippets you need to use a plugin that is specific to the type of rich snippet you want.

For example, if you want markup for product pricing, ratings and in-stock information, then you would need to use an e-commerce plugin that specifically outputs Schema.org markup for products.

We plan to add support for additional types of rich snippets, where possible, and provide an API where users and developers can extend our markup for any post type or taxonomy.

Content Specific Markup

In addition to the fields in the Schema Settings section, we also use the following content specific information:

  • The title of the Post, Page, Category and Tag
  • The SEO Description or the content from the Page or Post (or post excerpt)
  • The Featured Image and image caption
  • The language set for the content (as specified in the HTML lang tag)
  • The categories and tags assigned to a post
  • The SEO Keywords assigned to a post
  • The Facebook profile from the user profile for the author of the post/page (enabled using Show Facebook Author)
  • The Twitter profile from the user profile for the author of the post/page (enabled using Show Twitter Author)

Testing Schema markup

Bing, Google and Yandex each have tools to test Schema markup.  Here are the links to these tools:

  • Was this helpful ?
  • YesNo
[i]
[i]
Skip to toolbar