How To Add Schema To WordPress? (Solved)

Install it in the usual way by going to Plugins > Add New and searching for Schema. Click Install and then Activate. Once the plugin is installed and activated, go to Schema > Settings to start adding Schema markup to your site.


How do I add a schema to my website?

With your website in hand, follow these steps.

  1. Go to Google’s Structured Data Markup Helper.
  2. Select the Type of Data. There are several options listed.
  3. Paste the URL You Want to Markup.
  4. Select the Elements to Mark Up.
  5. Continue Adding Markup Items.
  6. Create the HTML.
  7. Add Schema Markup to Your Site.
  8. Test Your Schema.

How do you set up a schema?

To create a schema

  1. In Object Explorer, expand the Databases folder.
  2. Expand the database in which to create the new database schema.
  3. Right-click the Security folder, point to New, and select Schema.
  4. In the Schema – New dialog box, on the General page, enter a name for the new schema in the Schema name box.

Where do I put schema?

But for the most part, you will want to place the schema markup HTML in the footer of every page of your website. We are going to do that by clicking on Appearance, then Customize, then Widgets, and then the footer section in which we want to place the code.

How do I add a schema markup to WordPress without plugins?

You can also add schema markup directly in the editor for your blog post or page. Simply scroll down to the AIOSEO Settings at the bottom of your post or page, and click on the Schema tab. This will open a new window, where you can select Schema Type. Use the drop-down to set the Schema Type for your post or page.

How do I add a FAQ schema in WordPress?

How to Add FAQ Schema in WordPress

  1. Go to WordPress dashboard > Plugins > Add new.
  2. Install & activate this plugin called Structured Content JSON-LD #WPSC.
  3. It will enable a button in your WordPress Classic Editor and a new FAQ block in Block Editor.
  4. Now go to a post/page to which you want to add FAQ schema.

How do I add a FAQ schema to my website?

You need to select Web Page for Schema Type, and FAQ page for the Web Page Type option. After that you can start adding the Question and Answer fields for your first FAQ question. You can click the ‘Add New’ button to add additional questions. Once you’re done, don’t forget to save the changes.

How do I create a schema markup in WordPress?

Install it in the usual way by going to Plugins > Add New and searching for Schema. Click Install and then Activate. Once the plugin is installed and activated, go to Schema > Settings to start adding Schema markup to your site.

How do you upload a schema?

Create a schema by uploading a schema file

  1. Go to “Schemas” on the main toolbar.
  2. Go to “Create new schema” at the bottom of the schema list.
  3. Select creation method. In the first step, select «Upload schema file». Click «Continue»
  4. Define schema. Next, define the schema you want to use.

How do I find schema?

Google provides a testing tool that can be used to test schema applied on a particular web-page or in a snippet. You can visit the tool, enter URL/ code snippet and test the schema. Using the Schema Pro plugin, you can click on “Test Schema” to link to the Google testing tool from the dashboard.

What is schema markup WordPress?

Schema markup is a special type of HTML code that you can add to your WordPress website to tell search engines more about your content. Search engines can then use this data to display rich results. Search engines like Google also use schema markup to display information in other searches.

Does schema go in header?

It is best practice to put your schema data in website header (before ). But it is not necessary to put the code header section. You can put this code in footer also.

What is meant by a schema?

schema, in social science, mental structures that an individual uses to organize knowledge and guide cognitive processes and behaviour. People use schemata (the plural of schema) to categorize objects and events based on common elements and characteristics and thus interpret and predict the world.

Schema – What It Is & How to Add It to Your Site

There is no doubt that the way your website appears in search results has an impact on how many and what kinds of visitors you receive. Because of this, it is critical to investigate strategies to improve the way your website is displayed by search engines in order to attract more high-quality visitors to your site. The use of schema markup can assist search engines in determining how to index your information properly and efficiently. Avoiding your site from appearing on Search Engine Results Pages (SERPs) for irrelevant queries can help you save time and money.

Throughout this post, we’ll look at what Schema is, how to use it on your WordPress site, and what tools are available to help you get started.

What is Schema Markup?

For search engines, consider Schema markup to be your online “business card.” Content context helps crawlers understand what your content is about by providing them with information about the content’s context. A business card informs potential clients of your work title in the same manner as Schema markup informs search engines of what things are so that they may be properly indexed in the same way. Consider the following scenario: you mention a name such as “Jon Snow” in the content on your page.

The organization of this information may be more precisely defined, allowing you to display a more representative “business card.” Furthermore, Schema metadata is shown beneath your headlines on search engine results pages.

According to the above example, Schema markup would assist ensure that committed fans of the writer Jon Snow are not ready to click on a link to a popular culture piece.

For example, We’ll go into more depth about each of them later in this piece.

Schema for SEO

Schema is sometimes misunderstood as a feature that contributes to the improvement of a website’s search engine optimization (SEO). The use of schema optimizes how your site appears on search engine results pages (SERPs) and how closely your content matches what was put into the search engine; nevertheless, schema does not automatically boost your ranks. However, if consumers can see relevant contextual information about your website more clearly than other information on the page, it may encourage them to visit your website instead of the one they are now viewing.

It displays the number of reviews the app has got, its rating, its pricing, its category, and the devices on which it is supported (iOS).

It’s important to remember that, while websites that utilize Schema will not receive preferential treatment from search engines, they may attract greater attention from real people.

The extra data structure allows a user to quickly determine if the material on a page is relevant to their needs or not by looking at the data structure.

Schema Vocabulary Formats

In HTML frameworks, schema vocabulary may be used to encode data in a variety of ways. We’ll go through three of them in depth to give you a better understanding of how some of them work: JSON-LD, RFDa, and Microdata. In order to standardize Schema vocabulary sets, teams from Google, Yahoo, and Bing collaborated to ensure consistency in their structure and terminology, and the result was the establishment of It is a significant resource and repository for the documentation of these mutually agreed-upon sets of terms and conditions.

JSON-LD Schema

The JavaScript Object Notation for Linked Data (JSON-LD) is the most often used format for schema vocabulary, however it is supported in a variety of other forms as well. JSON-LD is specifically recommended by Google in their documentation, and they openly state as much. JSON-LD is a method of embedding Linked Data into your webpages by utilizing simply JSON as a script. When searching for “homemade apple pie recipe,” you’ll come across the following example of this format: In order for all of the helpful metadata to display in the search result, JSON-LD markup must be used.

On this recipe page, you can view the JSON-LD that was used to show the following information if you use the ‘View Page Source’ function.

Tags are also used to organize additional information, such as preparation time, calories, featured image, and rating, among other things.

JSON-LD Schema Generators

Learn how to construct snippets containing the metadata you want to show might be challenging for individuals who are not familiar with JSON, JavaScript, or HTML, but it is possible. Fortunately, there are generating tools available that you may use to generate the JSON-LD Schema snippets for your website’s content. The following are some of the greatest sites for learning about JSON-LD markup:

  • You may add tags to many different sorts of online content and metadata fields with the help of’ extensive generating tool. Markup generating tools are available at, which supports both Microdata and JSON-LD. To demonstrate the visual JSON-LD markup and how it transforms as additional information is added, Hall Analysis has developed a step-by-step tool

Using JSON-LD, search engines may significantly improve the quality of the information they offer to your potential web site users and search engine crawlers. These resources can make it easier to develop the kind of rich material that you desire.


Microdata is another another method of incorporating metadata into an HTML page. Using HTML components already existing on your site’s pages, it may be used to provide more context to site items by constructing a more straightforward tagging and inferencing system from them. The purpose of microdata is to improve the machine-readable nature of these HTML components. In its most basic form, it describes the scope of each tagged object, tags the property within the item, and then states the value.

  1. /p “My favorite animal is a giraffe,” reads a simple new line of text on a web page, which would be generated as a result of this action.
  2. div itemscopep div itemscopep A giraffe is my all-time favorite animal.
  3. Following that, we’ll add another characteristic to the item’s property to identify it: div itemscopep div itemscopep Aspan is my all-time favorite animal.
  4. /p/div.
  5. In addition, it’s vital to remember that microdata attributes can be stopped by other HTML properties, such as font styles and links, without the interruption causing an issue with the microdata’s reading.

Microdata, on the other hand, may assist you in defining your content more quickly and effectively for search engines, allowing it to appear in more relevant searches as a result.

RDFa Schema

It is possible for web developers to bridge the gap between what a person sees on a web page and what a browser or crawler sees by using the Resource Description Framework in Attributes (RDFa) specification. The framework accomplishes this by expanding the standard HTML properties without altering the appearance of the web page to the user. A browser reads web pages via the use of characteristics such as headline and text, whereas you see rich content in the browser through the use of the title of the post and the author’s name: When you mark up your website code using RDFa, you are providing the browser with a more in-depth knowledge of your material.

You might be interested:  Where Is Htaccess File Wordpress? (Correct answer)

Here’s a basic bit of HTML that displays blog post material that is intended for consumption by humans: htmlhead./headbody.h2 The Disappearance of Bob /h2p Released on: 2011-09-10 /p./body By utilizing RDFa, we can add properties to this information that go beyond the conventional HTMLhead and bodytags, therefore assisting a computer in gaining some knowledge of it.

As a result, there will be no language misconceptions regarding an attribute because anybody or any machine may click through and learn about the attribute.

Here’s what it looks like with RDFa characteristics added: htmlhead./headbodyh2 property is a property that describes a property “There is a problem with Bob/h2p The date:span parameter is set to “2011-09-10 /span/p./body /span/p./body The title of the post has now been annotated with a link to thetitleandcreatedattributes in a library of RDFa keywords, as can be seen below.

How to Add Schema to WordPress

After learning what schema markup looks like and how to use it, you may be asking how to incorporate it into your WordPress website. There are a variety of approaches that you might use to do this assignment. If you choose to go the manual approach, Torque’sguide for developerscan assist you participate in some Do It Yourself (DIY) Schema markup. Otherwise, you may use a WordPress plugin that automatically embeds it for you.

Schema WordPress Plugins

When it comes to configuring your Schema markup, using a plugin is probably the simplest solution for the majority of users. In order to assist you develop rich meta descriptions and formatting, there are several WordPress plugins available. TheAll in One Rich Schema Snippetsplugin allows users to specify what each page and post is about, resulting in a more organized search engine presentation. For example: With theSchema App Structured Dataplugin, you can go one step further by having it automatically setup Schema settings and data on your behalf, including a few high-level settings such as your logo, address, and company type: Even while this is undoubtedly more powerful than many other plugins and far easier to use than manually marking up your code, the free edition of Schema App Structured Data only allows snippets for a maximum of 10 webpages.

With the exception of tiny sites, you may have to purchase in the commercial version in order to mark up your complete site.

Consider the following example: WP Product Review focuses on the creation of reviews and ratings, while also incorporating Schema for the following elements: As an analogy, KK Star Rating allows visitors to rate your content, and then adds the Schema markup necessary for this information to be shown in search results: Take a look at Create by Mediavine if you are a blogger that specializes in recipes, DIY and crafting tutorials, or product roundups.

For example, it contains @type tags, similar to those we described previously, for a range of distinct content formats, including: A few simple configuration options are maintained in these plugins, and they can assist you in automatically adding Schema markup to your web page.

This will allow you to take use of the benefits of utilizing Schema without having to put in hours of time and effort into its implementation. is a set of vocabulary phrases that have been agreed upon and are used to describe the structure and data of websites. Professional teams from Google, Yahoo, and Bing joined together to ensure that their structure and vocabulary were consistent across the board. The result is that, regardless of the format in which you write your content, search engines will understand what you’re trying to say since there is a common language utilized across all of them. Go to to find out more about the fundamental language that is utilized in Schema markup.

How to Test Schema

After installing a plugin or manually putting Schema markup on your website, you may want to check to see if the search results for your website are displaying as you had expected. Because of this, Google has developed theStructured Data Testing Tool, which may be used for the following purposes: You may either input a URL to test current Schema markup or a code sample to test code before putting it on your website to see how it performs. Before embedding the markup on your website, we recommend that you test it using the code snippet tester to check that everything works as intended and that there are no problems or warnings.

WP Engine and Schema Markup

Our Digital Experience Platform, developed by WP Engine, has been fine-tuned to ensure your success. Our servers are designed to deliver improved site speed, allowing you to provide the greatest possible experience for your users while simultaneously improving your search engine rankings. Are you prepared to begin? Check out ourWP Engine plans right now!

How to Add Schema Markup in WordPress and WooCommerce

Do you want to know how to quickly and efficiently apply schema markup to WordPress? Schema markup enables you to submit vital information to search engines, which they may utilize to improve the visibility of your listing in the results of a search. Here, we’ll teach you how to effortlessly add schema markup to your WordPress website so that you may attract more free SEO traffic from search engines to your website and grow your business. Listed below is a high-level outline of the subjects we’ll be discussing in this article:

  • In this article, we will discuss what Schema Markup is and how to use it into your WordPress site. In WordPress, you may enable Site Wide Schema Markup. Using WordPress to configure the Default Schema Markup
  • Changing the Schema Markup for Individual Posts and Pages in WordPress
  • Changing the Schema Markup for Individual Pages in WordPress
  • Schema Markup for WooCommerce Configuration & Configuration
  • Including Schema Markup in Your Website for Local SEO
  • Experimenting with Your Schema Markup to See whether It Supports Rich Snippets

What is Schema Markup?

Schema markup is a sort of HTML code that you may use on your WordPress website to provide more information to search engines about the content of your website. For example, you may notify the search engines that a certain page is a blog post, a recipe, a FAQ, a news story, or a product page in your online store by using schema markup. Search engines can then make use of this information to provide more relevant results. Search engines such as Google employ schema markup to display information in other queries, in addition to their own.

Rich results and rich snippets are the terms used to describe these improved search listings.

They increase the visibility of your site in search engine results pages, which enhances your organic click through rate and provides you more free visitors. After that, let’s have a look at how to effortlessly add schema markup to WordPress without having to write any code.

How to Add Schema Markup in WordPress

The All in One SEO for WordPress plugin is the quickest and most convenient way to apply schema markup to your WordPress site. You can quickly and simply add schema markup to your WordPress site using this plugin, which is the finest WordPress SEO plugin on the market. The first step is to download and install All in One SEO for WordPress. After that, you must activate it. For further information, please refer to our step-by-step instructions on how to install a WordPress plugin (included). Upon activation, the plugin will launch a setup wizard that will guide you through the process of getting the plugin up and running.

If you have completed the setup, the plugin will automatically build up the necessary schema markup and apply it throughout your whole website, saving you time.

Setting Site Wide Schema Markup in WordPress

First and foremost, we’ll provide search engines with some fundamental information about your WordPress website. You can get this information by going toAll in One SEO » Search Appearance and scrolling down to the Knowledge Graph section. From here, you must decide whether your website is about a person or an organization. If your website is about a person (such as a personal blog, resume website, or portfolio website), then you can choose the person’s user account from the drop-down list or enter their information manually.If you choose an existing WordPress user, then you can edit the selected user’s profile by visitingUsers » Profilepage.Here you can provide the user’s Twitter and Facebook handles.If you choose an existing WordPress user, then you can edit the selected user’s profile by visitingUsers » Profilepage.

Setting up Default Schema Markup in WordPress

In the following step, you will select the default parameters that will be used to generate schema markup for all of your WordPress posts and pages. This will guarantee that schema markup is appropriately configured for all of your WordPress posts, pages, products, and any other content types that you create or publish. Simply navigate to theAll in One SEO » Search Appearance page and choose the Content Types tab from the drop-down menu. You will be able to see all of your post kinds from this page.

Selecting this option will let you to select the default schema type for that specific post type after switching to it.

Suppose you run a news website that publishes WordPress posts as news articles.

Changing Schema Markup for Individual Posts and Pages in WordPress

Because you’ve already configured default schema settings, you won’t have to worry about manually updating your schema markup for the majority of your content. It is possible, though, that you will wish to alter the schema settings for a specific post or page in a few situations. Consider the following scenario: If you’re utilizing custom WordPress landing pages as product pages, you’d like search engines to be aware of this. Additionally, some bloggers may use WordPress posts to publish recipes, news stories, or reviews on their websites.

Simply make the necessary changes to the post or page that you wish to modify.

You may edit the schema markup settings for that particular post from this page.

For example, if you change the title of a post to Dish, you may include a description of the recipe, the cuisine type, the preparation time, the directions, and more.

This is a really useful tool for websites that sell things utilizing a basic online payment system rather than an eCommerce platform, and it is easy to use.

Setting up Schema Markup for WooCommerce

All in One SEO is the most feature-richWooCommerce SEO plugin available on the market today. Along with standard SEO settings, it appropriately chooses product schema markup for all of your items. It will fetch all of the essential metadata from yourWooCommerceproduct listing, such as pricing, currency and availability. It will also fetch reviews and star ratings, among other things. Additional information about each product may be entered under the Schema tab, where you can specify the brand, identifier type, and identification number.

Adding Schema Markup for Local SEO

Google searches with a local focus account for around 36% of all searches. That implies that people are seeking for local companies and services in their area.Most local searches result in a purchase decision, making them extremely profitable for small businesses.Local SEO helps you place your business on the map so that consumers can discover you simply. All in One SEO includes a Local SEO addon that allows you to easily optimize your website for local search results.Simply go to theAll in One SEO » Local SEOpage and click the Activate Local SEO button.If your business has multiple locations, the Local SEO addon will automatically detect the location of each location and display it in local Google search results.If your business has multiple locations, the Local SEO addon will automatically detect the location of each location in local Google search results.

Once you’ve completed this step, you can move on to the Locations tab and enter your business information.Enter your business name, logo, phone number, type of business (including payment options), and other details before clicking on the Save Changes button.For more information, see our guide on setting up individual locations.After you’ve completed this step, you can move on to the Opening Hours tab and enter your business hours.Simply enter working hours for each day and mark the days when your business is closed.

Testing Your Schema Markup for Rich Snippets

You may use Google’s Structured Data Testing tool to verify that the schema markup on your WordPress website is correct. You only need to input the URL of your website, and it will automatically fetch the structured data markup that can be found on that page. If there is an issue or a warning, you may fix it by going back to your website’s schema markup settings and changing them. Google also provides a newerRich Snippets testing tool, which is available here. It not only scans your website’s Schema markup for rich snippets, but it will also notify you if any information is missing.

Check out our expert picks for the must-have WordPress plugins and our comparison of the finest email marketing services for small businesses as well.

On top of that, you can follow us on Twitter and Facebook.

This means that if you click on one of our affiliate links, we may receive a fee.

See how WPBeginner is supported, why it is important, and how you can help us by donating. The Editorial Staff at WPBeginner is a group of WordPress specialists, lead by Syed Balkhi, who provides guidance and support. Over 1.3 million readers around the world put their trust in us.

Add Schema to WordPress: How to Get Rich Snippets for Your Site

The content on Themeisle is completely free. When you make a purchase after clicking on one of our referral links, we receive a commission. Read on to find out more When searching on Google, have you ever come across a result that contains star ratings? In the search engine world, this additional information is known as a rich snippet, and the code that tells the search engine where to look for that information is known as schema markup. When you integrate schema into WordPress, you may boost the likelihood that your site will appear in those visually appealing rich results!

You might be interested:  How To Remove Inactive Themes From Wordpress? (Perfect answer)

In this post, we’ll go through some of the specifics of how schema markup works.

What do schema markup and rich snippets look like?

It is code that runs in the background of your WordPress site that is called schema markup. Though, search engines such as Google utilize it to better comprehend your material and display something known as rich snippets, which look something like this:Stars aren’t the only type of rich snippet you’ll see, however. In the case of a recipe search result, you may see a number of reviews, the number of calories in the recipe, and the length of time it takes to create the meal. The schema markup will alter depending on the sort of content you have.

  • We provide a guide for company addresses and other schema information
  • Books
  • Recipes
  • Software applications
  • People
  • Videos
  • Articles
  • Local companies – we have a guide for product reviews

So, what is the best way to include schema into your WordPress content? Simply follow the instructions outlined below:

Step 1: Install a schema markup plugin

A number of developers have created plugins to assist you with adding schema to WordPress. I like the All In One Schema Rich Snippetsplugin because of its repute and the fact that it supports the majority of rich snippets, including: Starting with your WordPress site, install and activate the Rich Snippets plugin, then navigate to the Rich Snippets tab on the left-hand side of your WordPress dashboard.

Step 2: Configure and add schema to WordPress

According to the technical specifications, the schema markup feature has already been integrated into your WordPress site. You may, however, customize the information that appears. Following that, any new post or page you make will need you to decide whether or not you want the schema markup to appear in your search results. On the Rich Snippets page, you’ll see a settings option that you can use to customize your search results. Below that, you’ll see all of the schema markup types. When you click on a specific type, such as Item Review, you’ll see several fields that allow you to specify which rich snippets appear on the frontend and in search results.

  • In addition, you have the option of removing some of them if necessary.
  • The customization option allows you to change the colors of your page.
  • As previously stated, this snippet box will show at the conclusion of your WordPress post, and it is this that you are altering.
  • You may draw attention to items through blog post reviews, and your customer ratings can be shown immediately in the search engine results.

However, if you are utilizing WooCommerce, I would recommend that you uncheck this feature entirely. Because the WooCommerce plugin already has schema support, it causes a problem by introducing a duplicate schema.

Step 3: Create or edit a post

Your WordPress site has already been updated to include the schema markup feature. The content that appears may be customized, though. Following that, each new post or page you produce will need you to decide whether or not you want the schema markup to appear in your search results. On the Rich Snippets page, you’ll see a settings option that you can use to customize the markup. When you click on one of the schema markup types, such as Item Review, several fields are displayed that specify which rich snippets appear on the frontend and in search results.You aren’t required to change anything on this page, but it’s a good idea to know which snippets are being displayed on the frontend and in search results.

  1. For example, you might not want a rating or a review date to appear on your page.
  2. The defaults may be left in place once again, but you may wish to customize the snippet box to reflect the branding of your website.
  3. Following the customization of your schema markup, click on the Update Colors button to save your changes.Schema markup is quite effective for e-commerce websites, and it may help you rank higher in the search engines.
  4. Nevertheless, if you are using WooCommerce, I would recommend that you uncheck this choice.

Step 4: Configure rich snippets on the post

Once you’ve located the Configure Rich Snippets module, you can view your options by selecting them from the drop-down menu. For the purposes of this tutorial, I’m going to create an Item Review.Each schema markup option is different, but the Item Review schema asks for the reviewer’s name, the item to be reviewed, and a rating.After publishing or previewing the post, you can see the rich snippet towards the bottom of the post:If you want to test whether or not your schema markup is working, you can plug your post’s URL into Google’s Structured Data Testing Tool.

For example, you must fill out fields for the amount of time necessary, the amount of nutrients, and the amount of components.

That’s how to add schema to WordPress

While schema markup may not have a direct impact on the SEO of your WordPress site, it is still a useful tool for increasing the visibility of your content in organic search results, therefore it is well worth your time to incorporate it into your site’s design. You may also contact us if you have any further questions regarding how to add schema to WordPress. Leave a remark and we’ll do our best to assist you!

Free guide

Guide is available for free download.

How to Add Schema Markup to WordPress Without a Plugin

Free instructions to download

  • The advantages of using Schema Markup
  • The advantages of using Schema Markup with WordPress
  • How to add Schema Markup to WordPress without the need of a plugin
  • And more. Easy Way to Include Schema Markup in Your WordPress Site

Firstly, we should consider if it is preferable to add schema with or without the use of a plugin, which we will discuss later.

Is It Best to Add Schema With or Without a Plugin?

Plugins allow you to add new features to your WordPress site without having to write any code. Despite this, many users assume that the fewer plugins they use on their sites, the better, but this is not always the case, as we’ll see. It is true that poorly built plugins can cause your site to become bloated and slow down. However, a well-designed, lightweight plugin can streamline the process and save you a significant amount of time without causing any harm. If that isn’t enough to persuade you, have a look at WPBeginner’s piece on how plugins influence the performance of your site.

  • It’s Tough and Effort Consuming– Creating schema without the help of an SEO plugin is difficult and requires a significant amount of additional time. You’ll also need to be familiar with PHP programming. You are unable to update your theme because it is never a good idea to directly alter theme files. When the theme is updated, all of your customizations will be lost. You Can’t Change Your WordPress Theme– You are unable to change your WordPress theme because your custom code will only function if you are using the same theme as your custom code. Using a sophisticated SEO plugin like AIOSEO, you may quickly integrate complex markups such as Articles, Breadcrumbs, and Sitelinks Search Box
  • You’ll miss out on powerful features.

With that being stated, let’s take a deeper look at the advantages of schema markups and how they may help you increase your click-through rate (Click Through Rate).

Benefits of Adding Schema Markup

There are several advantages to including schema markup on your WordPress website. For example, you’ve certainly seen those attractive search results with star ratings and pricing, such as the following: These are referred to as rich snippets, and they may be obtained by including schema markup in your web pages. They provide visitors with clear information about the content of a website and help the page appear more prominently in search results. To put it another way, schema markups are utilized by all major search engines, including Google, Bing, Yahoo, and Yandex, to include more information on their search results pages.

Furthermore, increasing the number of clicks will eventually result in higher ranks.

Brandon Gaille provided the image for this post.

Difference Between Rich Snippets and Schema Markup

Now hold on a moment, we’re talking about rich snippets and schema markup as if they’re interchangeable terms? No, not at all! Let’s have a look at what the difference is between the two. Simply explained, while rich snippets are intended for human consumption, schema markup is intended for search engine bot consumption. Code that tells Google what your content is about is referred to as schema markup. Rich snippets, on the other hand, are what Google shows in search results. It is also referred to as structured data because it is encoded in a code language that is widely accepted by major search engines such as Google.

  • Articles, events, reviews, recipes, books, products, FAQs, and much more are available.

In any case, there are two methods for including schema markup on your website. The most effective and straightforward method is to make use of AIOSEO, which is the best and most powerful SEO plugin available on the market.

An easier way to integrate schema markup into WordPress will be demonstrated in the following section: an easier way to integrate schema markup into WordPress. The second method is to manually add it to your website without the use of a plugin, and that is exactly what we will demonstrate next.

Add Schema Markup to WordPress Without a Plugin

In order to begin, you may go and look for the markup you wish to include in your text. We’ll walk you through the process of including the Article markup on your WordPress site. On the other hand, contains a comprehensive list of all schema markups that are supported by search engines. These markups are written in three distinct programming languages: We’re going to utilize JSON–LD instead of other markups since it’s more Google-friendly and doesn’t cause your site to break as readily as other markups.

WordPress Block Editor

To begin, simply in into your WordPress Dashboard and browse to any PostorPage that you wish to modify with schema. Make sure that Custom Fields is selected in theOptionstab before proceeding to the next step. When you click on the three dots in the upper right corner, a new window will appear. Then, under the Tools area, scroll down to the Options section. This will open a new window with all of the panel choices available to you. You must choose theCustoms Fields checkbox in this section. After that, you just return to the block editor and scroll down to the bottom of your post or page, where you will find the Custom Fields configuration options.

  1. The following step is to give your schema markup a name.
  2. Once you’ve decided on a name for your markup, you’ll need to copy and paste the code snippet below into the Valuesection.
  3. They will be in charge of generating the code for you.
  4. [” ” “] /script /script /script /script /script /script /script /script /script /script /script /script /script /script After you’ve entered the code in Value, click on theAdd Custom Fieldbutton to create a new custom field.
  5. You’re almost finished with your work.
  6. $schema = get post meta(get the ID(),’schema’, true);?
  7. It is important to note that making a single error when altering theme files might cause your entire website to go down and display the “white screen of death.” Always keep a backup of your website before doing any work.

Safely Add Custom Code to Your Header.php File

When it comes to adding custom code and functionality to your website, using a plugin is always the best and safest solution. In addition, we strongly advise you to make use of the WordPress pluginInsert Headers and Footers. Rather than manually editing the theme files, we’ll demonstrate how simple it is to add your code snippet to the header.php file using the Insert Headers and Footers plugin before moving on. After you have installed and activated the plugin, all you have to do is go to your WordPress Dashboard and click onInsert Headers and Footersin theSettingsmenu to get started.

Remember to include your code snippet in the Scripts section of the Headerwindow. All you have to do now is click on theSavebutton. This cannot be made any simpler than it is. And, maybe most importantly, it is far safer than directly changing the theme files themselves.

Add Custom Code Directly in Your Theme Files

With that stated, let’s move on to how to include the code snippet directly in the theme editor and header.php file, which is described below. Simply navigate to Appearance » Theme Editor and choose the header.php file located in the Theme Files. This will open a new window in which you may make changes to the document. Paste the schema code into the file editor directly before the/headtag, then save the file. Click on theUpdate Filebutton once you’ve finished adding your code snippets and comments.

You have now successfully introduced schema to WordPress without the need of a plugin, and you can test your URL to see if there are any mistakes by using Google’s Structured Data Testing Tool to check for errors.

An Easier Way to Add Schema Markup to WordPress

When utilizing the most effective WordPress SEO plugin, All in One SEO, you may add schema markup to your site in a faster and more convenient manner (AIOSEO). To highlight a few of the numerous advancedSEO tools that can help you enhance your SEO and boost your ranks in the search engines. Here are a few of the most effective SEO tools available:

  • Users using SEO Custom User Roles may govern access to essential SEO capabilities without giving up control of your website. Optimize your WordPress site using our SEO Audit Checklist, which will evaluate your complete site to find major issues and provide actionable recommendations that will help you improve your SEO and attract more visitors. Smart XML Sitemaps—automatically generate a WordPress XML sitemap and notify all search engines of any updates
  • Smart XML Sitemaps—automatically generate a WordPress XML sitemap and notify all search engines of any updates
  • Smart Google News Sitemap— Submitting your most recent news stories to Google News can help you get higher ranks and generate more visitors.
You might be interested:  Wordpress How To Set Homepage? (Solution)

Having learned about a handful of AIOSEO’s advanced SEO tools, let’s look at some of the things you can do using schema. You can include schema in the following documents: Note: The schema markups for the Breadcrumb and Sitelinks Search Boxes are submitted to search engines automatically. Corporate Contacts and Organization Logos are among the data that is submitted to Google’s Knowledge Graph. Before you can begin adding schema to your WordPress website, you must first install and activate AIOSEO on your server.

Now that you’ve installed AIOSEO, we’ll walk you through the process of determining whether you’re a person or an organization, so that you may inform Google about your company.

Add Person or Organization

Search Appearance may be found in the All in One SEOmenu under Search Appearance. After that, navigate to theGlobal Settingstab and scroll down to theSchema Markupsection to complete the process. The first thing you must do is decide if your website is intended to represent a person or an organization. Depending on your selection, you’ll see fields where you’ll be required to input your information. You must provide the following information into the Organization section:

  • The name of your company or business should be entered in theNamefield. Phone Number – insert the phone number for your business that you’d want to be included on search engines in the Phone Number section. The Contact Typefield should be filled up with the type of contact that best describes the phone number that was entered. You may put your organization’s or business’s logo into theLogofield.

Note: The image must be a minimum of 112px x 112px in size and in the jpg, png, or gif format to qualify.

In addition, if you do not submit a logo, AIOSEO will utilize the logo that you have already included in your theme’s design. When creating a Personalsite, you must include the following information:

  • Choose a Person from the list of users in theChoose a Personfield to serve as the principal owner of your website. It will only include people who have the roles of Author, Editor, or Administrator
  • All other users will not be included. Select theManually Enter Personoption from the drop-down menu and then fill up theName andLogo boxes
  • Alternatively, you may use a template. The name of the principal owner of your website should be included in theNamefield. To fill up theLogofield, provide an image of the principal owner (which must meet the same size criteria as the company)

Let’s go on to the next step, which is to enable the sitelinks search box on your website.

Enable Sitelinks Search Box

An in-search box on your website provides consumers with a convenient method to search your site immediately from the search results on Google. As an illustration, here’s an example of a Pinterest sitelinks search box: Google Search Central is the source of this image. Make sure that the Sitelinks Search Box is enabled by checking that the button is turned on. AlOSEO will then submit the code for the sitelinks search box to Google, which will allow it to appear in search results as a sitelink.

Adding Schema to Your Content

To begin, you must visit to theAll in One SEOmenu and choose Search Appearance from the drop-down menu. The next step is to select the Content Typestab from the drop-down menu. You’ll find areas for each sort of material on your site, such as blog posts, pages, and goods, in this area of the page. Adding schema toPosttypes will be done for your site by us. While you’re in Posts, click on theSchema Markup button to configure the schema for yourSchema Type and Article Type, respectively. Make certain that the Articleas Schema Type is present.

You’ll see an option for Article Type just below the Schema Type setting.

Repeat these procedures for any other pages or items that you want to create.

Add Schema to Your Taxonomies

Now that you’ve learned how to include schema in your content, let’s move on to taxonomy and categories. Taxonomiestab may be found in theAll in One SEOmenu by selectingSearch Appearanceand then theTaxonomiestab. The schema settings for posts are organized similarly to the schema settings for posts, with sections for each of the taxonomies used to organize the material on your site (category, tags, and so on). Simply choose theSchema Markuptab in each area to set Schema for the taxonomy that you want to work with.

You may select yourSchema Type and Article Type in this section, exactly like you did for posts.

The final step is to provide the schema type for each piece of content that you create.

Add Schema to Your Individual Posts and Pages

You may also include schema markup right into the editor of your blog post or web page if you like. Simply go down to theAIOSEO Settingssection at the bottom of your post or page and click on theSchematab to make changes. This will create a new window in which you may choose the type of schema to use. Set the Schema Type for your post or page by selecting it from the drop-down menu. If you choose the Default (Established in Search Appearance) option, AIOSEO will utilize the search appearance parameters that you previously set in Search Appearance.

  1. As you can see, Blog Post has been selected as the default choice, but you may select whatever you believe is the most appropriate for your material.
  2. You’ve now completed the process of adding schema markup to individual posts or pages.
  3. In addition, we demonstrated a more efficient and user-friendly method of adding schema markup to your website without the need for PHP code.
  4. You could read our blog post SEO checklistor ultimate WordPress SEO guide if you want to learn more about how to optimize your blog post for SEO like an expert.

Keep an eye out for updates on AIOSEO’s new features and upgrades. As usual, thank you for your support of the greatest WordPress SEO plugin available.

Why You Need Schema Markup and How to Add it to WordPress

20th of December, 2021 Kevin W.5 minutes to read When it comes to search engine optimization, there are a plethora of factors to consider. First and foremost, there is the issue of offsite and onsite SEO to consider. Schema markup, on the other hand, is another component that effects your search engine appearance as well as the ability of search engine bots to scan your site, and it is one that should not be overlooked. Despite the fact that schema markup is a relatively new concept, using it into a WordPress website may be quite advantageous.

We’ll go through what schema markup is, why you’d want it, and how to incorporate it into your WordPress site in the sections below.

How Are Schema Markups and Rich Snippets Related?

A schema is a piece of code that exists behind the scenes that provides Google (and other search engines) with more information about your website. Rich snippets are the most popular type of schema markup since they are so easy to use. You’ve most likely come across them in the search engine results pages. If you haven’t seen them before, they look like this: Not only do they look good, but having rich snippets appear in search results may also enhance the amount of traffic that your website receives from search engines.

Once Google has crawled your site and found schema markup, it will be able to use the information it has gathered to provide more beautiful and informative search results for users.

The appearance of the rich snippet will vary depending on the type of material on your website.

While on a product page, you’ll find information such as the price and availability of the product stated, among other things.

What are the Benefits of Schema Markup?

Traditional methods of informing Google about the content of our website have included the use of formatting tags. Things like our heading tags, selecting a target keyword, and improving our meta descriptions are examples of what we should be doing. However, even with these, the context of our pages might be difficult to decipher, particularly when words or phrases have several meanings or are used often. We include schema on our websites to provide more context to the pages and articles on our sites.

Additionally, it will improve our search engine presentation, which will have an impact on our click-through rate (CTR) and other important data. You’ll score higher in more relevant search results if you have schema in place, which means more high-quality visitors for your website.

Different Types of Schema Available

The number of various schemas that may be implemented is countless, and Google now supports more than 50 distinct schemas. Visit the list and discover what sorts of relevant schema you may incorporate into your website by spending some time looking through it. The following are some of the most frequent types of schema:

  • Local business information
  • Upcoming events
  • Recipes
  • Movie listings
  • Reviews
  • Reservations
  • And articles

What Does Schema Look Like?

Now that you’ve learned what schema is, let’s have a look at some instances. First, we’ll look for the film “The Revenant” on Netflix: The very first result from IMDB has schema markup that has been properly applied. You’ll see that the starred and review sections are also present. The display of the star rating is made possible by Schema, allowing you to immediately determine whether or not the movie is worth your time. There is a single sort of star rating that shows for every form of review, whether it is for a restaurant, a movie, a book, or even a recipe.

There is also more information on the recipe, such as an image, as well as the amount of time it takes to create the recipe.

As a result, by using a schema, you are providing Google with a better understanding of the information that should be highlighted, and Google will display that information in the search results.

How to Test for Existing Schema Markup

The Structured Data Testing Tool provided by Google may be used to determine whether or not you have any current schema placed on your site. Occasionally, the schema markup for your WordPress theme will be pre-installed. You may either copy and paste the code from your website or simply enter the URL of your website. After you have put your site through the tool, you will be able to check which schema is currently active as well as whether or not any schema faults are present.

How to Add Schema to WordPress

You should now understand the importance of including schema on your WordPress website. You’ll learn about two distinct techniques you may use to incorporate schema into your website in the sections below:

1. How to Add Schema to WordPress With the Schema Plugin

The Schema plugin is the quickest and most convenient method to include schema onto your website. This plugin will operate with any current schema and will also connect with the pluginYoast SEO, which is available separately. Then, from your WordPress dashboard, go toPlugins Add New and search for ” Schema ” to begin the installation process. Then navigate toSchema Settings to begin setting the plugin when it has been successfully installed and activated. Fill in the blanks with your basic information, such as the URLs of your About Page and Contact Page, and upload your website logo.

Following that, you can browse toSchema Typesand assign certain schema to a given post type or category. If the plugin described above does not meet your needs, you can choose from a variety of additional choices. Alternative WordPress schema plugins are available, including the following:

  • Everything on in One Place WPSSO Schema
  • Extensive Snippets Structured Data Schema for WP SEO
  • JSON-LD Markup structured in
  • Rich Reviews

2. How to Add Schema to Your Site Manually

Manually adding schema to your website is also an option. Adding custom schema to individual posts and pages will require additional work, but it will be worth it in the long run. You may also incorporate numerous distinct schemas on a single page when using custom schema. It is therefore simple to include a review schema into an event page that has already been created by another user. It is most beneficial to utilize JSON-LD to manually add schema to your site rather than using other methods.

  • The JSON-LD approach is based on the JavaScript programming language.
  • In the event that you do not know how to write markup, you can utilize Google’s Structured Data Helper or the JSON-LD Generator to generate your code for you.
  • Select ‘Custom Fields’ from the drop-down menu at the top of the page after clicking on Screen Options at the top of the page.
  • “application/ld+json” is the script type.
  • After that, you’ll need to make some changes to yourheader.php file.
  • $schemamarkup = get post meta(get the ID(),’schemamarkup’, true); As a result, your schema code will be loaded together with your post metadata when you do this.
  • Just remember to run your page or post via the Google Structured Data Testing Tool to ensure that there are no problems in your markup before publishing it.

Final Word

It takes very little effort to include a schema into your website, yet it has the potential to increase your search engine ranking and website traffic. Even while the manual technique appears to be more complicated and time-consuming at first glance, it isn’t that tough once you get your hands on it. Furthermore, the large number of plugins available makes even the most basic implementation of schemas extremely simple to accomplish. There is a schema markup that may be added to any type of website, regardless of its purpose.

Please share your thoughts and experiences in the comments section below.

He enjoys making difficult marketing and technology subjects understandable and accessible to a wide range of people. Instead of being addicted to his computer screen, you’ll find him engrossed in a book or penning poetry or jogging through the woods.

Leave a Comment

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