How to add Schema markup in WordPress

Looking to add Schema markup in WordPress? There are numerous ways that you could do this depending on the complexity of your desired markup.

Use plugins to add Schema markup

There are lots of plugins which add Schema markup automatically for WordPress websites. However, these plugins vary depending on the complexity of your desired Schema markup.

A plugin which offers the most common Schema markup, which all websites should use is Yoast SEO.

Yoast SEO will help by adding Person or Organisational JSON Schema to your website (depending on your website), without any coding necessary.

To set this (as of Yoast version 9.3), follow the steps below:

  1. Install and activate Yoast SEO.
  2. Navigate to SEO>Search Appearance.
  3. Under Knowledge Graph, select if you’re a company or person.
  4. Add a company name and logo, then save the changes accordingly.

Manually adding complex Schema

There are numerous guides on configuring Schema on your website. You should use the documentation for reference and also Google’s too.

When you’re looking into this, you’ll notice that there are numerous ways of which you can set Schema on your website.

In terms of which you use, it really depends on your website’s complexity. However, our favourite and easiest to use is JSON Schema.

Note, once you’ve added your Schema, you should use Google’s Schema testing tool too. It’ll allow you to debug accordingly, should there be any errors.