How to Setup Schema Markup for WordPress (2024)

WordPress is one of the most well-known content management systems (CMS) used by businesses today for creating websites, blogs, and online stores. It’s also one of the most accessible platforms to get started with. If you’re like most businesses that want to take their operations to the next level, you can do a few things to make your site stand out from the crowd.

One way of doing this is by utilizing Schema Markup for WordPress, which helps search engines understand your website.

What is Schema Markup?

Search engines need to understand what a webpage is all about, and that’s where schema markup, also known as “structured data,” comes in handy. It is an HTML tag and a unique code that allows you to make your website more searchable and detailed for search engines. It helps them comprehend better the structure of your content, which in turn helps them return more relevant results for people searching for the kinds of things you offer.

Schema also helps with SEO. By adding structured data, you’re telling Google or other search engines to prioritize a specific part of your page when they crawl your site and index it. This prevents search engines from indexing incorrect web pages.

Having a structured data language on your website allows you to identify the different types of information on your site and tell search engines what those types mean. In other words, it helps Google and other search engines provide more accurate answers for users looking for specific information about your website or product.

If Google and other search engines understand your site better, this will significantly improve the online visibility of your website.

How can Schema be a Useful Tool For Your WordPress Site?

Having a powerful tool that can help your website’s SEO and user experience, like Schema Markup can boost your site’s traffic and improve its chances of showing up in search results. These are some examples of how schema can be a useful tool:

  1. If you want to tell Google that a particular piece of text is an address, you can add a specific bit of code to let it know that’s what it is:

    [address]123 Main Street[/address]

    This will tell Google (and other search engines) that this text is an address and should be treated as such
  1. Let’s say you are a clothing store selling dresses. If someone searches for “buy red dress,” they want to know where they can buy a red dress quickly and easily. They don’t want to see results for sites like Macy’s or Nordstrom because those stores don’t sell dresses; they sell clothing in general! So if you add some schema markup to your site, Google will be able to recognize that this page has something relevant to offer when someone searches for “buy red dress.”
  1. If you’re a plumber in San Francisco, you should tell Google that your page is about plumbing. Without Schema Markup, Google will have no idea what kind of business you do or where you’re located. But with Schema Markup, Google can see that your page is about plumbing, giving it higher prominence in search results for people looking for plumbers in San Francisco.

Adding Schema Markup to WordPress

There are hundreds of helpful reasons why you need to add a markup to your website, but here are the three ways we add schema markup to WordPress:

Via WordPress themes

To do this, you must install a WordPress theme that already includes schema markup. If you don’t know where to find this, look for schema in the theme directory, and you’ll get a couple of results. Here are some of these themes


As mentioned earlier, the purpose of the schema theme is to boost SEO. Schema is part of the code and can make a big difference in how search engines rank your site. Apart from that, it also has built-in enhancements. 

Schema Lite

This is the premium Schema theme’s free version. It may not have all the premium theme’s features, but you can still try it and see what will work for you. 

Schema Premium

The features are the same as in Schema Lite, except that it comes with more SEO-enhancing features. It also has an options page that allows you to add more information about your site. This information will then be counted as a markup. 

Via WordPress Plugin

This method is the easiest. Install a plugin on your WordPress site that will add the code for you automatically. There are plenty of options available for free, but some paid plugins may be worth the investment depending on how frequently you update your website.

Many WordPress themes have schema markup already integrated, but if you don’t have one, you can still add it through plugins.

Schema Plugin 

The Schema Plugin is an excellent choice to add schema markup to your WordPress site. It works with other plugins on your site, making adding schema markup to your posts very easy.

The plugin uses JSON-LD – a Google-recommended lightweight data format. This is to ensure your content is as searchable as possible. The plugin doesn’t contain the review markup. However, you can simply download the free version of the companion plugin called Schema Review.

Setting up the schema plugin is a relatively simple process that you can follow in just a few steps:

  1. From the Add New option under Plugins, select Schema> Install Now.
  2. Activate Schema.
  3. Once you’ve activated the plugin, go to Settings under Schema and add the appropriate schema markups to the website as needed.
  4. Make sure to fill in all of the necessary information about your business. This includes your company logo, address, and contact information.
  5. To begin, click Quick Configuration Wizard.
  6. Follow the prompt and provide all the social media profiles you use to market your business.
  7. Click the “Options” icon in the upper-right corner to edit the site’s custom markup types.

Schema Pro Plugin 

The Schema Pro plugin is a premium alternative to advanced schema markup features on your website.

In addition to the features outlined above, the Schema Pro plugin also offers the following:

  • This schema markup is compatible with a broad range of data types.
  • With custom field support, you can create and edit your own fields to suit your needs.
  • Archives, custom post types, and taxonomies are supported.
  • You can add and extend more markup.
  • The plugin comes with an automatic schema generator, which ensures that every page and post is appropriately tagged.
  • There are many alternative WordPress plugins that you can use to implement schema markup.

Via Yoast Plugin

Yoast SEO is the most preferred SEO plugin for WordPress. It makes adding schema markup to your site accessible, and you don’t have to install or activate any other plugins.

The team behind Yoast SEO updates their plugins regularly and offers free support via email or live chat if you run into any issues along the way. Their documentation is also top-notch, making it easy for beginners to learn how everything works before diving deeper into their paid options.

The Yoast plugin is a great way to get started with SEO. It walks you through filling in information about your business, linking to social media accounts, and more. You can skip this part since you’re already using an existing plugin. Follow these steps to get started.

  1. Choose your website’s organization type in the installation wizard. 
  2. When you select the organization and person name you want to associate with your website, you’ll also be asked for a logo and a specific name. Provide these pieces of relevant information.
  3. If you intend to link your website to someone without an app user account, you can go one of two ways. You can choose an organization and continue filling in the necessary information assuming the said individual is an organization. You can also set up an entirely new account with an email address that will serve as your own alias account.

If you want to alter your website’s entity type, go to General, look for SEO, and hover your mouse over Search Appearance. After which, scroll down and look for Knowledge Graph & Once you’ve located it, provide the proper website information.

You can choose a user name for your website under “Personal Info.” The plugin will use the user’s profile to get information about them, so make sure all of your information is correct. The Yoast plugin will automatically add schema markup and data types once the website type has been set up.

The following are some examples of how the Yoast plugin adds markup to your WordPress website:

  • The full entity graph is based on content and website settings. This means that you’ll see the same content type lists and entities on your website if you run the Structured Data Testing Tool.
  • A single post or page is marked with Author and Article data types.
  • All website search results will be marked up as SearchResultsPage.
  • It ensures that each page has a corresponding data type.

To help you maximize and get the most out of your content, this plugin also offers this helpful feature: Yoast Structured Data Blocks. This allows you to add how-tos and FAQs to your web posts or blogs. The said plugin also uses relevant schema markup to communicate with search engines.

Testing Schema Markup

Testing schema markup is a great way to see how well your website is structured, and the best way to test it is by using a schema validator.

A schema validator will be able to tell you if your website has been appropriately marked up with microdata, which means that it’s easier for search engines like Google to find out more about your website and display it in their search results.

To test schema markup, you need a website with proper schema markup. This can be done by using the Google Structured Data Testing Tool.

The Structured Data Testing Tool is a tool that allows you to see what the Googlebot will see on your website. It works by taking a sample of your website and using it in place of your live website. You can use this tool to make sure your site is coded correctly for structured data so that Google Search can find it.


In this article, we’ve explored the benefits of using schema markup for WordPress. Schema is a great way to increase your website’s visibility on search engines and improve its overall performance. It can also help you attract new visitors and retain old ones. The more you use structured data in WordPress, the more benefit your blog will see in return.

We’ve also gone through the steps to set up a schema for your blog and provided a few examples of how to use it in WordPress

If you’re looking to get more traffic from search engines or want to ensure that your content is optimized, you should consider adding schema markup to your WordPress site.

Kenichi Konakawa

Kenichi Konakawa is the SEO Specialist of All White SEO, an online course designed to teach Filipinos how to do SEO and offer it exclusively as a service to business owners worldwide. He is also a versatile Graphic Designer, creating a wide range of digital and traditional marketing collaterals for various industries.

Ani Hoang
Ani Hoang

Ani has been managing WordPress websites and optimizing different affiliate sites. She is also passionate about digital marketing and branding. She joined WPHub to plan and execute the backend operations to support your experience on our site.

FREE EBOOK: How to Build a Wordpress Website


As a complete beginner!

FREE EBOOK: The Ultimate Guide To Speed Up Your Website and Increase Conversions!


Site Speed Secretsis a is a step-by-step blueprint about how to speed up your website and increase conversions.