A Guide to Schema.org Markup for Rich Snippets

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:

Example of a rich snippet in Google search results

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

Schema Markup in All in One SEO

All in One SEO outputs Schema.org markup using a format called JSON-LD. Below is a list of the markup we add on all Pages, Posts, Custom Post Types, Categories, Tags, Custom Taxonomies, Media Attachments, Date and Author Archives, as well as on the 404 page and search results page:

We also output markup for Google’s Knowledge Graph including:

In addition to the Schema markup above that’s available in both the Lite and Pro plugin, All in One SEO Pro customers can also add the following markup to their content:

You can find documentation on Configuring the Schema Settings in All in One SEO here.

Content Specific Markup

All in One SEO uses the following content specific information to generate our Schema markup:

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

Testing Schema Markup

You can test your Schema markup directly within All in One SEO. Check out our article on Testing your Schema in All in One SEO here.

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

Check out more documentation on our Schema Settings here.