Schema Markup

How You Can Add WordPress SEO Schema in 2 Different Ways

Today we are going to talk about WordPress SEO Schema markup and how to set it up. 

Search Engine Optimization or SEO is one of the important parts of any website. There is on-page SEO and there is off-page SEO. However, people often forget that there is also another factor that influences how your site looks in the search engine. 

And that is the ability of search engine bots to crawl your site which is called Schema Markup. 

Adding WordPress Schema can be beneficial for any WordPress website. So we are going to show you how to add WordPress SEO Schema Markup to your website. 

How to Add Schema to WordPress Websites

You now know the value of WordPress Schema. We are going to show you how to add Schema to your WordPress site in two different ways, 

Method 1: How to Add Schema to WordPress With the WordPress Plugin

The easy and simple way to add schema to your site is by using the popular WordPress Schema plugin. This plugin has the ability to work with any pre-existing schema and also has integrated with the plugin Yoast SEO.

1. In order to install this plugin you have to go to Plugins ->Add New from the backend of your WordPress dashboard and search for “Schema”.

Schema Plugin

2. After Installing and activating the plugin, you need to go over to Schema -> Settings in order to begin configuring the plugin.

3. Add the necessary information including the location of your About Page, Contact Page, and lastly, upload your website logo.

After completing all the additional sections, content, knowledge graph, and search results, you can use your site for each of those areas.

4. After that, you can go to Schema -> Types and add a specific schema to a type or category of post.

And this is how you can use the Schema plugin to add Schema to your WordPress site. 

Read More: Which One You Should Choose- Rank Math vs Yoast SEO?

Method 2: How to Add Schema to Your Site by Using Source Code

You can also add schema to your site manually by using code. But you can include a custom schema on a singular post and page as well.

With a custom Schema, you can also incorporate various outlines per page. In this way, if you have an occasion page yet in addition need to incorporate a survey Schema, then you can do without thinking much.

The best approach to physically add Schemas to your site is to utilize JSON-LD. This technique is additionally suggested by Google. The JSON-LD method is JavaScript based. You’ll be adding schema to your site as a script, so it’ll be much easier to read and debug.

However, if you don’t have any idea how to write markup all by yourself, then you can use Google’s Structured Data Helper to create your code for you.

1. To do this go to any post or page where you would want to add schema markup. Click on Screen Options at the top of the page, and check both that says ‘Custom Fields’.

Custom Fields

2. After that, go down and find where it says ‘Custom Field’ and click ‘Enter new’ to create a new custom field. Give a name  ‘schema’ and enter the following code (We are adding local business data schema):

<script type="application/ld+json">
"@context": "",
"@type": "Organization",
"address": {
  "@type": "PostalAddress",
  "addressRegion": "Neverland",
  "streetAddress": "667 Acme Road"
"description": "The Acme Organization has been run by the Acme family for generations.",
"name": "Acme Organization",
"telephone": "(0)12 34 56 789"

3. Now, you have to click the ‘add custom field’ and update your page.Also, you will need to edit your header.php file. Open the file up and insert the following code before the closing </head> tag:

$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true);
if(!empty($schemamarkup)) {
 echo $schemamarkup;

This will make it so that your schema code is loaded along with your post metadata. 

By using these codes, you can add any kind of custom schema markup to your WordPress site.

Also Read: Manage Your WordPress Plugins with Eazy Plugin Manager

Benefits of WordPress SEO Schema Markup

In the past, we have used formatting tags to let Google know what our site is all about. But as our website has different keywords on different pages, meta descriptions, and titles, Google sometimes becomes confused. 

That is why we add Schema to our site which gives our site additional context to the pages and posts. Other than that, WordPress SEO Schema, 

  • Rank our posts more accurately
  • Improve search engine appearance
  • Increase the overall CTR 
  • Give relevant traffic
  • Improve other crucial statistics. 

So you can see why we need to add Schema to our WordPress website. 

Types of WordPress SEO Schema

Do you know that Google supports over 50 types of Schema? Yes, that is right. You can put in place dozens of Schema on your website. 

Here are some of the most common WordPress SEO Schema types, 

  • Local business data
  • Movie listings
  • Reviews
  • Reservations
  • Articles
  • Events
  • Recipes and more. 

Here’s what a Schema looks Like, 

WordPress SEO Schema

If you search for WordPress SEO Schema, you will see different results. In the results, you can see the star rating and review section. Schema makes that star rating display possible. 


1. Does schema affect SEO?

Schema markup adds more information to your organic results, making it more visible, attractive, and engaging to users. Schema boosts your SEO. 

2. Does Yoast SEO do schema?

Yes. Yoast SEO will allow you to implement markup on your pages automatically. 

3. Does WordPress use schema?

Yes, it does. Schema markup is a type of HTML code that you can add to your WordPress website to tell search engines more about your content.


Hopefully, now you can add Schema to your WordPress site. It may look complicated at first. But, when you manage the context, then you will easily understand where and how to add Schema.

But if you still face any trouble, then do let us know in the comment section. 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top