How to Add Schema Markup in WordPress and WooCommerce

On average, when people visit a website from Google, they’re the ones who are most interested in the product, those who spend the longest time on the website, and those who buy the most!

Have you wondered why and how? Well, some of you might know the technical reason behind it. On the other hand, the majority of the people might not be aware of this magic. Let’s together discover the mystery behind this magic. Let’s start!

Schema! Yes, Schema is the major reason to direct the audience on the correct product or website. By using Schema markup, you can provide Google with structured data related to the product to improve the visibility of search engine result pages (SERPs).

Now, you must be excited and curious to know about how to add schema markup! So let’s start the process to discover how you can easily add schema markup in WordPress and WooCommerce. Let’s begin!

Before a deep dive into How to Add Schema Markup in WordPress and WooCommerce? Let’s understand what Schema is and how it works.

What is Schema Markup?

Schema markup is a code and it acts as a way of telling search engines what your website is about. So Schema is not only for SEO reasons; it’s also for the benefit of the end-user.

Source: Google

In search results, the position of your website makes an important difference in how many and what kind of visitors you receive. Consequently, it’s important to seek out ways to enhance how your website is represented by search engines to drive more high-quality traffic your way. Moreover, these days, it is absolutely fundamental to optimize websites for better search engine optimization results to relish great outcomes.

How to Add Schema Markup in WordPress?

Yoast for WordPress is the easiest way to add schema markup to your WordPress site. It is the best WordPress SEO plugin available to date and it will allow you to easily add schema markup to your WordPress site effortlessly.

In order to get started, you need to install & activate Yoast SEO for WordPress. Once the plugin has been activated, the plugin will launch a setup wizard, which will walk you through the steps.

Once the setup is complete, the plugin will generate the schema markup and apply it to your website. In any event, we recommend you go through all the schema markup settings manually so you can make changes if needed.

Note – To add Schema markup follow the next steps.

Plugins > Add New and search for Schema. Click Install and then Activate.


Setting Site-Wide Schema Markup in WordPress

The first step is to provide search engines with some basic information about your WordPress website. You can access the Knowledge Graph section by going to Yoast SEO » Search Appearance > Search Appearance.


The next step is to select if the web page is about a person or an organization. For an organization, you can provide a business name, business phone number, business contact information, and a logo.

When you are building a website about a person (like a blog, a resume, or a portfolio website), you can click the drop-down list to select their user account or manually enter their information. You can edit the profile of an existing WordPress user from the Users Profile page if you choose an existing user. Moreover, you can add users’ Twitter or Facebook profile URLs. Furthermore, you need to make sure that you have correctly added the first and last name as it plays a vital role when it comes to search the user. Lastly, you need to set up the user’s profile photo as a Gravatar and save all the latest changes you made.

Setting up Default Schema Markup in WordPress

In the next step, select the WordPress default label settings to use for generating schema markup for all WordPress posts and pages. This will ensure that every WordPress page, post, product, or other content type has an appropriate schema markup set up.

To see all your post types, go to the Yoast SEO » Search Appearance page and switch to the Content Types tab.

Source: BootesNull

There is a Schema Markup tab for each post type. If you switch to it, you can choose what default schema the post type will use. The settings for this site can be edited from here if you need to make changes. For example, if you run a news website using WordPress posts, you may need to change the Article Type to News Article.

Schema Markup Change for Posts and Pages in WordPress

The default schema setting that you have set up will ensure that most of your content will not require any manual changes. However, there may be some instances where you need to manually change the schema settings for an individual post or page.

If you encounter this problem, just edit the post or page that you want to modify. Next, select the Schema tab in the AIO SEO Settings box below the editor.

Alternatively, you can select a different schema and specify the microdata for that post in this section. You can select from a variety of schema types.

Setting up Schema Markup for WooCommerce

With Yoast SEO, you’ll get the most comprehensive SEO plugin for WooCommerce.Along with all the usual SEO settings, all your products will be correctly marked up with schema markup.

As part of the product schema, it will fetch all the necessary details from your WooCommerce listing, including pricing, currency, availability, reviews, star ratings, and more. Additionally, it will collect the branding element, identifier type, and identifier number for each product. This feature is useful for selling products from other brands with standardized identifiers.

Adding Schema Markup for Local SEO

More than 36% of Google searches are local. This means people are looking for businesses and services nearby. Local searches are highly profitable for small businesses since they are often followed by a purchasing decision.

It is possible for your business to appear in local Google search results if you use local SEO to place your business on the map. Additionally, your business appears in other Google products, such as Google Maps, which encourages walk-in business to your storefront. You can optimize your website for local search results with the Local SEO addon included with Yoast SEO.

To activate local SEO, go to the Yoast SEO » Local SEO page and click the Activate Local SEO button. If you have multiple locations, you should enable this option after activating local SEO.

Source: Yoast

Afterward, you can add locations by entering their details. Below that, you can enter information about your business including its name, logo, phone number, business type, payment options, and more. Next, go to the Opening Hours tab and enter the working hours for every day of your business, and mark any days your business is closed. Lastly, ensure to save the changes by clicking the Save Changes button. After you have set up local SEO in WordPress, you can also register for a Google My Business account.

Final Thought 

A business often looks for ways to be on the top of the list. However, it’s not at all an easy task to obtain the desired position on the market without making the right efforts. Presently, to be on the top in the business schema markup is crucial as well as necessary. Since using schema markup, you can provide search engines with all the most vital information that will enhance listing in search results. Therefore, you can effortlessly enjoy big outcomes in a very short time span for your business. In order to add schema markup to your website hire wordpress developers and don’t forget to consider this article.

Further reading


Please enter your comment!
Please enter your name here