Why your site needs Schema Markup and how to add it in WordPress

How to install Java on Ubuntu 16.04
How to fix and eliminate JavaScript and CSS render locks in WordPress

When we talk about SEO , there are several things that you need to do it right. First, you have to worry about the features onsite and offsite of your domain. But there is another factor influencing the results of search engines and bots the ability of search engines to find your site. This factor is the Schema Markup .

Although it has been introduced only recently, implement the Schema Markup to your WordPress site can bring many benefits. For example, with the Schema Markup, you will be able to increase traffic to your website, the CTR (Click Through Rate) and traceability of your site.

Below we will see what the Markup Schema is, why you need it and how to add the schema to your WordPress site.

As the Schema Markups and Rich Snippets related?

The Schema is the code behind the scenes that gives Google (and other search engines) more information about your site. The most common way Schema Markup is known is called Rich Snippets. You’ve probably seen some of them when they did a Google search and see the search results.

If you did not see, they look like this:result of chocolate cake with sample schema markup

They not only have a nice appearance, but have rich snippets appearing in search results can help increase visitor traffic to your site. Even if the position of your site in search results has not changed. When Google crawls your site that has Schema Markup, search engine will use the data to create more attractive and useful results to users.

When you implement Schema Markup on your site, you are giving Google bots more accurate and useful information about your page. As rich snippets will appear depends on your page’s content type. For ratings, it will show a star rating system. Already if your page is about a specific product, it will show things like the price and availability of the listed product.

There are many types of Schema Markup that you can use, depending on the type of content that the page itself is tracked by Google.

What are the benefits of Schema Markup?

Traditionally, we use formatting tags to allow Google to know about what is our site. These formats include things like header tags, choose a keyword and optimize the meta descriptions.

But even with these formats, the context of our pages can be a bit obscure. Especially with words and phrases that have multiple meanings.

We added the schema on our sites to provide additional context for our pages and posts. This will help them to rank more accurately in the search engines. It will also help improve the appearance that the search result is shown in the search engines, which influences the Click Through Rate and other important statistics.

With properly positioned schema, your site will appear in more prominent positions, which means more quality traffic to it.

Different types of Schema available for use

There are dozens of different types of schemas that you can use. And Google itself has support for over 50 different types of schemas currently.

Spend some time browsing through the list and see which are the most relevant schemas that you can add to your site. Some of the most common forms of schemas are:

  • local business information
  • Events
  • Recipes
  • movie listings
  • Assessments
  • Reservations
  • articles

With what one Schema look like?

Now that you know what a schema, let’s look at some examples. First, let’s do a search for the film “The Return”.example of markup schema with search results in the film return

The first result has shown an implementation of Schema Markup on the site Love Cinema. See the evaluation section, with the stars in the image. The schema is what allows the processing system with stars being shown on the screen. Then users, so researching the film, can already get a sense if it is worth watching the movie or not.

The same kind of evaluation system with stars appears in any type of evaluation, be it a restaurant, a movie, a book or a recipe. See the results when we searched for “Shrimp Stroganoff”.markup schema example with shrimp estregonofe revenue

The reviews section with stars came again as one of the highlights of the survey results. It also has more information about who sent the recipe to the site, how long details of the recipe takes to get ready and even a personalized photo. Sometimes even details of recipes with step by step, are also shown.

Now, for example, let’s search for “Obama”.markup schema example with the search results for the word Obama

Instead of showing an evaluation system with stars, you will see a schema style for news.

Because of this, with a schema, you give Google a better idea of ​​the information that is worth being highlighted on your page. This information will be shown in search results.

How to check if your site already has a Schema Markup

You can use the Google Structured Data Testing Tool to check your your site already has an installed schema. Sometimes own WordPress theme that your site is using Schema by having an integrated Markup.

You can paste into your site code or just use the URL that points to your site.markup schema test sample in wordpress site

After running your site for the tool, you get to see which schema is active and if any schema error is happening.

Adding Schema in WordPress

So far, you’ve seen how important it is to have a schema added to your WordPress site. Below you will learn two different approaches you can do to add a schema to it without spending a lot of work. Get to work!

1. Adding Schema to WordPress with the plugin Schema

The easiest way to add a schema to your site is by using the plugin Schema. This plugin will work with any type of schema. It will also work in conjunction with the Yoast SEO plugin.

To install this plugin, go to the control panel of your WordPress site. Go to Plugins> Add New and look for Schema in the search field.image plugin to add schema markup schema in wordpress

Install and activate the plugin. So go Schema> Settings (Settings) to start setting it up properly.Settings screen schema plugin

Enter basic information about your page on About Page , Page contact in Contact Page and upload the logo of your site in Publisher Logo .

Still other sections you can fill out and further optimize your site. They are: Content (Content), Knowledge Graph (Knowledge Graph) Search Results (search results) and Misc (Miscellaneous).

Now, navigate to Schema> Types (Types) and add a specific schema to a post type or category.screen that shows the types of schema

If the plugin above do not serve much to what you seek, you can use any other option. Here are some alternative schema plugins for WordPress:

2. Adding Schema to WordPress manually

You can also manually add a schema to your site. This process will take somewhat more codes and steps, but at least you can add a custom schema on a post or individual page.

With the custom schema, you can also include multiple schemas for the same page. So if you have an event page, for example, but also want to include a schema assessment, you can do so without any problems.

The most efficient way to manually add a schema to your site is by using the JSON-LD. This method is also recommended by Google, such efficiency.

The JSON-LD method is based on JavaScript. You will add the schema to your site as a script. So, it will be much easier to read and find error (debug).

If you do not know how to write a markup on their own, we recommend using the Structured Data Markup Wizard Google . Or JSON-LD Generator to create a code for you.

To use this approach, simply navigate to any post or page where you want to add a markup schema. Click Screen Options (screen options) at the top of the page and select the field Custom Fields (Custom Fields). option to custom fields to add markup schema in wordpress

Now, scroll down to where it says Custom Fields (Custom Fields) and click Enter New (Insert New) to create a custom field. Name it schema and add the code below (this is a data example of a local business):

  1. <script type = “application / json + ld” >
  2. {
  3. “@context” : “http://schema.org” ,
  4. “@type” : “Organization” ,
  5. “Address” : {
  6. “@type” : “PostalAddress” ,
  7. “AddressRegion” : “Neverland” ,
  8. “StreetAddress” : “667 Acme Road”
  9. } ,
  10. “Description” : “The Acme Organization Has Been run by the Acme family for generations.” ,
  11. “Name” : “Acme Organization” ,
  12. “Telephone” : “(0) 12 34 56 789”
  13. }
  14. </ Script>
<Script type = "application / json + ld">
{
 "@context": "http://schema.org"
 "@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"
}
</ Script>

Click Add Custom Field (Add Custom Field) and update your page.  

Now, you will need to edit the file header.php . Open it and enter the code below before the closing tag </ head>:

  1. <? Php
  2. $ = schemamarkup get_post_meta ( get_the_ID ( ) , ‘schemamarkup’ , true ) ;
  3. if ( ! empty ( $ schemamarkup ) ) {
  4. echo $ schemamarkup;
  5. }
  6. ?>
<? Php
$ = Schemamarkup get_post_meta (get_the_ID () 'schemamarkup', true);
if (! empty ($ schemamarkup)) {
  echo $ schemamarkup;
}
?>

This action will cause your schema code is loaded with the metadata of your post or page. With the above approach, you can add any Schema Markup customized to your WordPress site.

Just remember to run your page or post on Google Structured Data Testing Tool to check if their markings have errors.finding the exact location of an event with the help of markup schema

Conclusion

Add a schema to your site does not take long. And the best: it can cause your page to be better positioned in the results of search engines, generating more traffic.

The process may seem a bit technical and tiring, but even the manual approach is not something hard to do when you dive background. In addition, the number of available plugins makes the implementation of a schema is fairly simple.

No matter what kind of site you have. Always have a Schema Markup that can be added to it and bring very positive results. Remember that before you overlook the importance of these markings on the internet.

Added a Schema Markup on your site and have already managed to see some result or change? Tells us in the comments box below!