How to Add Schema

How to add schema to your wordpress website?

The goal of data structuring is to improve communication with search engines like Google. When Google has a better understanding of entities, it can provide better results to searchers. Consider this: while your content tells Google what’s on your site, schema will help Google understand what that content means.

Schema is a structured data vocabulary that allows search engines to better interpret the information on your website and offer more relevant results. These markups assist search engines to understand the meaning and relationships between entities on your site.

Schema markup is applied to the HTML of your website’s pages. The vocabulary offers formats for arranging data on the web around various persons, locations, and things

The full list of schema markup components may be seen on schema's website here:

  • Schema markup is frequently used to indicate:
  • Articles
  • Embedded non-text objects
  • People
  • Organizations
  • Products
  • Events
  • Local Businesses
  • Recipes
  • Medical Conditions
  • How To
  • Reviews
  • FAQ
  • Podcast

This is only a small fraction of the accessible data types; there are dozens, if not hundreds, of them. Google created a helpful article that shows what SERP elements you may expect to see when you contribute structured data to your pages. When you add these markups to your site, a search engine can comprehend what your site is about. The search engine can then display this information using Rich Snippets.

The Next Question is, "How Do You Add Schema Markup to Your WordPress Site?"

There are three ways to accomplish this. Let’s have a look at some of them:

1. Using a Dedicated WordPress Plugin to Add Schema Markup

2. Using Your Theme to Add Schema Markup

3. Using the Yoast SEO Plugin to Add Schema Markup

1. Using a Dedicated WordPress Plugin to Add Schema Markup

Because most sites already have a theme loaded, you may not want to alter your theme merely to acquire the Schema markup. The good news is that you can add Schema markup to your WordPress site using plugins.

Let's look at some of the possibilities:

The Schema Plugin

The Schema plug-in makes it simple to incorporate Schema markup into WordPress. It offers various important capabilities, such as allowing alternative schema types to be enabled per category or per post type, and it is compatible with custom post types. It will also function with other installed plugins, especially SEO plugins, to take advantage of the existing markup.

Let’s look at how you installed the Schema plugin:

  • Install it as normal by heading to Plugins > Add New and looking for Schema. Install is followed by Activate.
  • After installing and activating the plugin, navigate to Schema > Settings to begin adding Schema markup to your site. Fill up the basic information, such as the location of your About and Contact pages, and upload a logo.
  • Then, to begin configuring things, click the Quick Configuration Wizard button.
  • Work your way through the wizard, providing information about your site and social media networks, and then change your custom post kinds by clicking the button at the end.
  • By clicking the Add New button and filling in the details, you may add any additional custom post kinds to the list. This page can also be used to add Schema markup to categories. More complex usage features can be found in the plugin documentation.
  • Go to the Settings tab if you want to fine-tune your settings even further. By heading to Schema > Extensions, you can also add extensions. You can use this area to install extra WooCommerce plugins, among other things. You may also get the Schema plugin’s premium version, which offers the following features. If your site requires complex Schema markup, it may be worth the extra cost.

The Schema Pro Plugin

It is a plugin that allows you to create schemas. The Schema Pro plugin is a premium option for adding complex Schema markup to your WordPress site.

It has the following features:

  • A large number of data types are supported.
  • Schema data is automatically added to new and existing posts and pages.
  • Custom post types, taxonomies, and archives are all supported.
  • Support for custom fields.
  • Its extensibility and the flexibility to add more markup.

2. Using Your Theme to Add Schema Markup

Installing a theme that already includes Schema markup is one technique to add Schema markup to your WordPress site. The WordPress theme directory returns a variety of results when you search for the schema.

Let’s look at a few of those themes:

1. Schema Lite

It is a lightweight schema.

The Schema Lite theme is a stripped-down version of the Schema premium theme. It doesn’t have all of the premium theme’s features, but it’s a fantastic opportunity to test it out and see whether it’s right for you.

2. The Schema

It is a set of rules.

The Schema theme, which is available for free, is designed to improve your SEO. It claims to assist you to improve your search engine rankings by including schema in its code. It has also been improved in terms of in-build performance.

3. Schema

The premium Schema theme is identical to Schema Lite in design, but it has more SEO-friendly features. It has an options page where you may provide site information that will be inserted as Schema markup.

3. Using the Yoast SEO Plugin to Add Schema Markup

If you already have the Yoast SEO plugin installed on your WordPress site, the good news is that you can use it to add Schema markup.

It doesn’t add as much markup as some of the premium plugins described above, and it isn’t specialised to Schema markup, but it eliminates the need to install and configure another plugin

Let us now examine how this works:

  • First, you’ll be asked to identify the type of organisation that the site represents.
  • The name of the individual or organisation is then requested. If you’re representing an organisation, you’ll also need to include a logo. If you need to alter something about the person, go to their profile page.
  • You have two possibilities if your site represents a person who does not have a user account. Choose the Organisation option and fill in the details, or create a user account using an email address that is an alias of your own to prevent your customer from receiving emails from the system.
  • Go to SEO > Search Appearance and select the General option if you need to change the type of entity your website represents at any moment. Fill in the appropriate information in the Knowledge Graph & section.

If your site represents a person, you can choose a user from the drop-down menu, and the plugin will pull information from their user profile. If this describes you, make sure your user profile includes information about your name and social network accounts.

Instead of selecting a user, if the site represents an organisation or a person who does not have a user account, you can just provide information about that person or organisation. Go to SEO > Social to do so.

Yoast will automatically add data types and Schema markup to your WordPress site once you’ve set up the website type.

Schema Also Can Add to WordPress Manually:

What is the best way to go about it?

The final method for manually adding Schema markup to your WordPress site is to do it without using a plugin. This has the advantage of not requiring any additional code, but it will require more effort.

You can achieve this by altering your theme’s template files.

If you have a loop-single.php file that prints single postings, for example, the code might look like this:

It’s a good idea to test Schema markup after you’ve added it to your WordPress site, or even before you do so for comparison.

Use the Google Structured Data Testing Tool to see if your data is structured correctly.

In your web browser, open the tool and type in the URL of your website. Some plugins will provide you with a button that will take you straight to this page from your WordPress dashboard.

Google’s testing tool will show you which Schema markup elements are present and which are missing on your site. If any markup is missing that you believe you require, you can go back and adjust your plugin settings or manually add the missing markup.


Adding Schema markup to your WordPress site will improve your SEO by informing search engines about your site and the environment in which it exists. Now it’s your turn: do you use Schema markup on your website? You can do it manually, with the help of an SEO plugin like Yoast, or with the use of a dedicated schema plugin. Let us know what you think in the comments! DocPromo can assist you.

Write a Comment

Your email address will not be published.