How to Add Schema Markup in WordPress

How to Add Schema Markup in WordPress

How to Add Schema Markup in WordPress
How to Add Schema Markup in WordPress

The first thing you need to do is install and activate All in One SEO for WordPress. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, the plugin will launch a setup wizard that will walk you through the setup. If you need help, then follow our article on how to set up All in One SEO for WordPress.

Now, if you completed the setup, then the plugin will automatically set up the correct schema markup and apply it across your website.

WHAT IS SCHEMA MARKUP?

Schema markup is a type of code that assists search engines in reading your website content. It’s essentially a tagged note for a website crawler that further defines your web content’s information, making it easier to understand and include your business in the search engine results page (SERP). It’s not something you’ll see on the front end of your website; instead, it’s embedded into the code on the backend.

The schema markup code tells search engines exactly where to find essential data and information such as your:

  • Address
  • Business name
  • Hours
  • Menu
  • Phone number

One of the leading resources for schema markups is schema.org, which serves as a vocabulary for the schema language. Schema.org was founded in collaboration between Google, Microsoft, Yahoo, and others to create a shared vocabulary for developers and SEOs.

Why is Schema Important?

Schema markup helps your website rank better for all kinds of content types. There is data markup for a ton of different types of data, including:

  • Articles
  • Local businesses
  • Restaurants
  • TV episodes and ratings
  • Book reviews
  • Movies
  • Software applications
  • Events
  • Products

There are hundreds of markup types—from toy stores to medical dose schedules. If you have any type of data on your website, there’s a good chance that it will have an associated item scope and item type.

Websites that use schema markup will rank better in the SERPs than companies without markup. One study determined that websites with markup rank an average of four positions higher in the SERPs than those without schema markup. While it’s not totally clear that this higher result is due to the markup alone, there is obviously some correlation.

How to Add Schema to Your WordPress Site?

WordPress is the most popular CMS around the world. So, it is time to discuss how to add schema to your WordPress site to help WP users. Here are a couple of options, and you can choose the one that fits your requirements:

  1. Add basic information to your theme manually
  2. Theme-based schema markup
  3. Add basic information using an SEO plugin
  4. Try a niche-specific schema plugin
  5. Work with a generic schema plugin

Let’s discuss these options.

1. Add Basic Information to Your Theme Manually

Find an online tool and enter the information about your website to generate some markup. Get the output by tweaking your theme.

Schema.org JSON-LD Generator is a tool that you can try to create comprehensive, structured data entry.

Follow the wizard and complete the entries to generate. This way you can create either a generic entry or specific entries for web pages.

A JSON-LD (or JavaScript Object Notation for Linked Data) is created when you enter all the details. It would help if you validated it with the Google Structured Data testing tool.

If you’re a beginner and don’t know much about JSON, copy and paste the code into your website and add crucial business details such as business name, website, category, address, working hours, etc.

Get the JSON text ready as you’ll need it to add it to the WordPress website as a script. Go to the header of your page and add a script tag to do it quickly.

To add the script, you can either edit the theme of your site or use a plugin such as “Insert Header and Footer.”

Add the machine-generated script, save, and run your website using the Structured Data testing tool. It will ensure that the code is written correctly and ready to install on your website.

It is the easiest method of adding schema markup, where you don’t need any plugins and developers’ support. So, it can be done easily by the small local businesses that need their basic info to be displayed by the search engines.

2. Work With a Generic Schema Plugin

Just like the themes, a few plugins can also output various types of structured data.

You can try a feature-rich schema plugin known as the Schema plugin. With a high star rating, it’s a popular plugin.

The Schema plugin supports:

  • Knowledge Graph
  • Creative Works
  • Blog, WPHeader, WPFooter, BreadcrumbList, & other WP elements
  • Third-party WordPress plugins such as WooCommerce,
  • Schema Review

This plugin can also define the new schema. org-type outputs, so developers can go creative and add support for a specific type of markup.

3. Theme Based Schema Markup

With schema markup getting so much prominence, you can buy many themes online that support schema markup.

For example, you can try themes like Schema Lite and The Schema.

As you can see in the screenshot, the theme produces a variety of markup structured data that includes pages, header and footer, organization, blog items, and site navigation elements.

4. Try a Niche-Specific WordPress Plugin

You can also try niche-specific plugins that generate markup schema for specific types of data. We’ll discuss one such plugin — “Event Schema” here.

Event Schema

If your site generates numerous events and you want them to be marked up as the Event structured data, you can try the Event Schema plugin.

It is the kind of output you can expect from this plugin on SERPs.

5. Add Basic Details Using Your SEO Plugin

Now that schema markup has become indispensable for SEO; most SEO plugins also allow you to add structured data.

If you use Yoast SEO, go to SEO > Search Appearance:

Most SEO plugins have almost similar settings to create schema markup data so that you can do it quickly.

Related More Posts :

1.10 Best Facebook Feed Plugins for WordPress

2. 5 Ways To Earn Money With Social Media Marketing Skills

3. Best WordPress Facebook Plugins

4. How to Use Schema Markup for Boosting Local SEO

For the more latest news visit the site.

Leave a Comment