{"id":34675,"date":"2022-04-19T18:30:00","date_gmt":"2022-04-19T23:30:00","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=resource&#038;p=34675"},"modified":"2025-03-12T14:16:44","modified_gmt":"2025-03-12T19:16:44","slug":"schema-wordpress","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/","title":{"rendered":"A Guide to Adding Schema Markup with WordPress"},"content":{"rendered":"\n<p>The way your website appears in search results certainly influences how many and what types of visitors you receive. Consequently, it\u2019s important to seek out ways to <a href=\"https:\/\/wpengine.com\/resources\/webinar-wordpress-seo-best-practices\/\" target=\"_blank\" rel=\"noreferrer noopener\">enhance how your site is represented by search engines<\/a> to drive more high-quality traffic your way.&nbsp;<\/p>\n\n\n\n<p>Schema markup can help search engines determine how to index your content accurately. This can help prevent your site from ending up on Search Engine Results Pages (SERPs) for irrelevant searches. In this way you can drive more high-quality traffic to your website.&nbsp;<\/p>\n\n\n\n<p>In this article, we\u2019ll explore what Schema is, how to implement it for your WordPress site, and what related resources are available to you. Let\u2019s dive in!<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">What is Schema Markup?<\/h2>\n\n\n\n<p>Think of Schema markup as your \u2018business card\u2019 for search engines. It provides context to your content to help crawlers determine what it\u2019s about. In the same way a business card tells potential clients your job title, Schema markup tells search engines what things are so they can be properly indexed.<\/p>\n\n\n\n<p>For example, say you reference a name like \u201cJon Snow\u201d in the text on your page. Schema markup tells search engines what this data means: is it the name of the post\u2019s <em>Author<\/em> or a character in a television series? By clearly defining the structure of this data, you can present a more representative \u2018business card\u2019.<\/p>\n\n\n\n<p>Additionally, Schema metadata is displayed beneath your headlines on Google&#8217;s SERPs. This lets searchers know how your content can provide the information they\u2019re seeking. In the example above, Schema markup would help assure loyal readers of the writer Jon Snow that they\u2019re not about to click on a pop culture article.<\/p>\n\n\n\n<p>Schema vocabulary, or contextual data structures embedded in your page, can be used within several different formats, including <a href=\"https:\/\/json-ld.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">JSON-LD<\/a>,<a href=\"https:\/\/www.w3.org\/TR\/microdata\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Microdata<\/a>, and <a href=\"http:\/\/rdfa.info\/\" target=\"_blank\" rel=\"noreferrer noopener\">RDFa<\/a>. We\u2019ll cover each in more detail later in this post. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Are the Benefits of Adding Schema Markup to Your WordPress Site?<\/h2>\n\n\n\n<p>When you add Schema markup code to your WordPress site, you increase the accuracy with which search engines display your site. Take the Jon Snow example above\u2014Schema markup keeps your <em>Game of Thrones<\/em> fansite from appearing in a search for new authors.<\/p>\n\n\n\n<p>Similarly, you can leverage Schema to signify your organization\u2019s location. This strategy is especially helpful for brick-and-mortar businesses.<\/p>\n\n\n\n<p>Another benefit of adding Schema markup is improving your site\u2019s chance of appearing in a rich snippet or Google knowledge panel. These are the \u201cfast facts\u201d that searchers see when using search engines, and they help increase site traffic.<\/p>\n\n\n\n<p>So, what is Schema in website terms? It\u2019s a tool for driving conversions and pageviews\u2014and everyone should use it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schema Markup for SEO<\/h2>\n\n\n\n<p>Schema can often be misconstrued as an element that helps boost your website\u2019s Search Engine Optimization (SEO). While it is true that Schema does optimize how your site appears on Google&#8217;s SERPs and how closely your content matches what was typed into the search engine, it does not inherently increase your rankings.&nbsp;<\/p>\n\n\n\n<p>However, when users can see relevant contextual information about your website more clearly than others on the page, it may influence them to visit your website. You can use Schema markup to show features such as ratings, reviews, and related subpages all within the search engine results:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1230\" height=\"314\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/01\/fandango_app_schema_example.png\" alt=\"Implementing Schema Markup for Enhanced WordPress SEO Results.\" class=\"wp-image-34676\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/fandango_app_schema_example.png 1230w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/fandango_app_schema_example-300x77.png 300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/fandango_app_schema_example-768x196.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/fandango_app_schema_example-1024x261.png 1024w\" sizes=\"auto, (max-width: 1230px) 100vw, 1230px\" \/><\/figure>\n\n\n\n<p><span style=\"font-weight: 400\">Above we can see an example of the Fandango app on the App Store\/iTunes. It shows how many reviews the app has received, its rating, price, category, and on which devices (iOS) it is supported.<\/span><\/p>\n\n\n\n<p>Here\u2019s another example from a Bar-B-Q restaurant that hosts regular events:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1300\" height=\"842\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/01\/events_stubbs_schema.png\" alt=\"Schema Markup Tutorial: Implementing Event Schema Code in WordPress for enhanced SEO visibility at Stubbs Bar-B-Q events.\" class=\"wp-image-34678\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/events_stubbs_schema.png 1300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/events_stubbs_schema-300x194.png 300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/events_stubbs_schema-768x497.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/events_stubbs_schema-1024x663.png 1024w\" sizes=\"auto, (max-width: 1300px) 100vw, 1300px\" \/><\/figure>\n\n\n\n<p>Since the website for Stubb\u2019s Bar-B-Q uses itemprop=\u201devent\u201d tags, when we search for \u201cevents stubbs\u201d we see a nice list of events, dates, and titles as the first search result.<\/p>\n\n\n\n<p>Remember, while websites using Schema do not get preferential treatment by search engines, they might receive more attention from actual users. The additional data structure helps a user to easily see whether the information on the page will be relevant to what they need or not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Schema Markup Vocabulary Formats<\/strong><\/h2>\n\n\n\n<p>Schema vocabulary can be used to encode data within HTML frameworks. To get a better idea of how some of them work, we\u2019ll go over three in detail: JSON-LD, RFDa, and Microdata.&nbsp;<\/p>\n\n\n\n<p>In order to standardize Schema vocabulary sets, teams from Google, Yahoo, and Bing came together to create consistency in their structure and terminology, and launched <a href=\"http:\/\/schema.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Schema.org<\/a>. It is a valuable resource and repository that documents these agreed-upon sets of terms.&nbsp;<\/p>\n\n\n\n<p>This means, regardless of which schema type or format you use to generate your markup, search engines will understand it. Below are multiple schema types.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">JSON-LD Schema<\/h3>\n\n\n\n<p>While Schema vocabulary is supported in several formats, JavaScript Object Notation for Linked Data (JSON-LD) tends to be the most commonly used. In fact, Google<a href=\"https:\/\/developers.google.com\/search\/docs\/guides\/intro-structured-data\" target=\"_blank\" rel=\"noreferrer noopener\"> explicitly recommends<\/a> the use of JSON-LD in their documentation.&nbsp;<\/p>\n\n\n\n<p>JSON-LD is a way to embed Linked Data using strictly JSON as a script on your webpages. An example of this format can be found when searching for \u201chomemade apple pie recipe\u201d:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1212\" height=\"302\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/01\/apple_pie_schema_search.png\" alt=\"Comprehensive guide on adding schema markup in WordPress for enhanced search results\" class=\"wp-image-34679\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_search.png 1212w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_search-300x75.png 300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_search-768x191.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_search-1024x255.png 1024w\" sizes=\"auto, (max-width: 1212px) 100vw, 1212px\" \/><\/figure>\n\n\n\n<p>JSON-LD schema markup type is what enables all the useful metadata \u2013 the rating, number of reviews, cook time, and calorie count\u2014to appear in the search result. If you use the <a href=\"https:\/\/www.view-page-source.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">&#8216;View Page Source&#8217;<\/a> function on this recipe page, you can see the JSON-LD used to display this information:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2470\" height=\"1194\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json.png\" alt=\"Implementing Schema Markup for WordPress: Step-by-Step Guide to Add Schema Code\" class=\"wp-image-34680\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json.png 2470w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json-300x145.png 300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json-768x371.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json-1024x495.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/apple_pie_schema_json-1500x725.png 1500w\" sizes=\"auto, (max-width: 2470px) 100vw, 2470px\" \/><\/figure>\n\n\n\n<p>Tags such as <em>@type<\/em> inform us this is a <em>Recipe<\/em>, and the <em>author<\/em> tag tells us it\u2019s made by a <em>@type<\/em> that is an <em>Organization<\/em> named <em>Land O\u2019 Lakes<\/em>. Further bits of data such as preparation time, calories, featured image, and rating are also assigned with tags.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">JSON-LD Schema Generators<\/h4>\n\n\n\n<p>It can be difficult for those unfamiliar with JSON, JavaScript, or HTML to learn how to create snippets containing the metadata they want to display. Fortunately, there are generator tools you can use to create the JSON-LD Schema snippets for your website. Below are some of the best resources for JSON-LD markup:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/webcode.tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webcode.tools<\/a> has a <a href=\"https:\/\/webcode.tools\/json-ld-generator\" target=\"_blank\" rel=\"noreferrer noopener\">comprehensive generator tool<\/a> that enables you to add tags for many types of web content and metadata fields.<\/li>\n\n\n\n<li><a href=\"https:\/\/microdatagenerator.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Migrodatagenerator.org<\/a> has a <a href=\"http:\/\/microdatagenerator.org\/localbusiness-microdata-generator\/\" target=\"_blank\" rel=\"noreferrer noopener\">markup generator tool<\/a> that works for both Microdata and the JSON LD format.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/hallanalysis.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Hall Analysis<\/a> has created a <a href=\"https:\/\/hallanalysis.com\/json-ld-generator\/\" target=\"_blank\" rel=\"noreferrer noopener\">step-by-step tool<\/a> that shows the visual JSON-LD markup and how it changes as you add more information.<\/li>\n<\/ul>\n\n\n\n<p>JSON-LD markup can greatly enhance the information delivered by search engines to your potential web site visitors and search engine crawlers. These resources can make it easier to create any rich content type.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Microdata<\/h3>\n\n\n\n<p>Microdata is another way to nest metadata within an HTML page. It can be used to give more context to site elements by creating a simpler tagging and inferencing system out of the HTML elements already present on your site\u2019s pages.&nbsp;<\/p>\n\n\n\n<p>The goal of microdata is to make these HTML elements more machine-readable. Its basic approach is to outline the scope of each tagged item, tag the property within the item, and then state the value. Let\u2019s take a look at an example of a simple piece of HTML:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;p&gt;My favorite animal is a giraffe.&lt;\/p&gt;<\/pre>\n\n\n\n<p>This would produce a simple new line of text on a web page, with the sentence \u201cMy favorite animal is a giraffe.\u201d In order to demonstrate how microdata works, we\u2019ll add an attribute to define the scope:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div itemscope&gt;<br>&nbsp;&lt;p&gt;My favorite animal is a giraffe.&lt;\/p&gt;<br>&lt;\/div&gt;<\/pre>\n\n\n\n<p>Now we know that everything within the itemscope attribute is the \u2018item\u2019 we are dealing with. Next, we\u2019ll add another attribute to tag the property of the item:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div itemscope&gt;<br>&nbsp;&lt;p&gt;My favorite animal is a&nbsp;<br>&nbsp;&nbsp;&nbsp;&lt;span itemprop=\u201danimal\u201d&gt;giraffe&lt;\/span&gt;.&lt;\/p&gt;<br>&lt;\/div&gt;<\/pre>\n\n\n\n<p>This example gives us a tagged representation of an item with the property <em>animal<\/em> which has the value <em>giraffe<\/em>. Also, it\u2019s important to note that microdata attributes can be interrupted by other HTML attributes, such as font styles and links, without causing a problem with the reading of the microdata.<\/p>\n\n\n\n<p>In terms of how microdata can impact your SEO, it\u2019s important to remember that it\u2019s not a magic pill that will increase your search engine rank. Microdata can, however, help define your content more efficiently and effectively for search engines to help it appear in more relevant searches.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>RDFa Schema<\/strong><\/h3>\n\n\n\n<p>Resource Description Framework in Attributes (RDFa) is a way for web developers to bridge the gap between what a human sees on a web page and what a browser or crawler sees. The framework does this by extending the usual HTML attributes without impacting what users see on the web page.&nbsp;<\/p>\n\n\n\n<p>A browser reads web pages via attributes such as <em>headline<\/em> and <em>text<\/em> while you view the rich content in the browser as the post title and author name:&nbsp;<\/p>\n\n\n\n<p>When you mark up your site code with RDFa you give the browser a deeper understanding of your content. Let\u2019s look at an example of how RDFa can add machine-readable tags to human-readable content.&nbsp;<\/p>\n\n\n\n<p>Here is a <a href=\"https:\/\/www.w3.org\/TR\/rdfa-primer\/\" target=\"_blank\" rel=\"noreferrer noopener\">simple piece of HTML<\/a> displaying blog post content geared toward human consumption:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;html&gt;<br>&lt;head&gt;<br>&nbsp;&nbsp;...<br>&lt;\/head&gt;<br>&lt;body&gt;<br>&nbsp;&nbsp;...<br>&nbsp;&nbsp;&lt;h2&gt;The Trouble with Bob&lt;\/h2&gt;<br>&nbsp;&nbsp;&lt;p&gt;Date: 2011-09-10&lt;\/p&gt;<br>&nbsp;&nbsp;...<br>&lt;\/body&gt;<\/pre>\n\n\n\n<p>In order to help a machine gain some understanding of this information, we can add attributes beyond the standard HTML <em>&lt;head&gt;<\/em> and <em>&lt;body&gt;<\/em> tags by using RDFa. Keep in mind, RDFa uses full URL links to mark up HTML. This prevents any linguistic misunderstandings about an attribute, as any person or machine can click through and gain knowledge about the attribute.&nbsp;<\/p>\n\n\n\n<p>Back to our example. Here it is with RDFa attributes added:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;html&gt;\n&lt;head&gt;\n&nbsp;&nbsp;...\n&lt;\/head&gt;\n&lt;body&gt;\n&nbsp;&nbsp;&lt;h2 property=\"http:\/\/purl.org\/dc\/terms\/title\"&gt;The Trouble with&nbsp;Bob&lt;\/h2&gt;\n&nbsp;&nbsp;&lt;p&gt;Date: &lt;span\n   property=\"http:\/\/purl.org\/dc\/terms\/created\"&gt;2011-09-10&lt;\/span&gt;&lt;\/p&gt;\n&nbsp;&nbsp;...\n&lt;\/body&gt;<\/pre>\n\n\n\n<p>Now we can see that the post title is annotated with a link to the <em>title<\/em> and <em>created<\/em> attributes in a library of RDFa terms. Any browser or application can now gain an understanding of what a title is and that <em>The Trouble with Bob<\/em> is the title of this blog post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add Schema Markup to WordPress<\/h2>\n\n\n\n<p>Now that we have explored what schema markup looks like, you may be wondering how to embed it on your WordPress site. There are a few different ways you can accomplish this task.<\/p>\n\n\n\n<p>If you want to go the manual route, Torque\u2019s <a href=\"https:\/\/torquemag.io\/2016\/12\/schema-markup-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">guide for developers<\/a> can help you engage in some Do It Yourself (DIY) Schema markup. Otherwise, you can use a WordPress plugin that automatically embeds it for you.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Schema Markup WordPress Plugins<\/h3>\n\n\n\n<p><span style=\"font-weight: 400\">Using a plugin to configure your Schema markup is likely the most easy option for most users. There are a number of WordPress plugins to help you create rich meta tag, descriptions, and formatting. <\/span><\/p>\n\n\n\n<p>The <a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-schemaorg-rich-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">All in One Rich Schema Snippets<\/a> plugin enables users to select what each page and post is about for a more structured search engine appearance:<\/p>\n\n\n\n<p>The <a href=\"https:\/\/wordpress.org\/plugins\/schema-app-structured-data-for-schemaorg\/\" target=\"_blank\" rel=\"noreferrer noopener\">Schema App Structured Data<\/a> plugin takes it a step further and automatically configures Schema settings and data on your behalf, including a few high-level settings such as your logo, address, and type of company:<\/p>\n\n\n\n<p>While this is certainly more powerful than many other plugins and much easier than marking up your code manually, the free version of Schema App Structured Data only supports snippets for ten pages. Unless your site is rather small, you may have to invest in the <a href=\"https:\/\/www.schemaapp.com\/schema-app-advanced-wordpress-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">paid version<\/a> to mark up your entire site.<\/p>\n\n\n\n<p>There are also plugins centered around specific features that will add Schema markup to your site. For example, <a href=\"https:\/\/wordpress.org\/plugins\/kk-star-ratings\/\" target=\"_blank\" rel=\"noreferrer noopener\">KK Star Rating<\/a> enables users to rate your posts, then adds the Schema markup needed to display this information in the search engine results page:<\/p>\n\n\n\n<p>These plugins can help put Schema markup on your WordPress website automatically after a few simple configuration settings are saved. This will help you take advantage of the benefits of using Schema without requiring hours of time and effort to implement it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Add Schema Markup Manually<\/h3>\n\n\n\n<p>If you\u2019ve decided against using a Schema plugin or Schema theme, it\u2019s possible to add Schema to your WordPress site manually, page by page, as follows:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Enable Custom Fields<\/h4>\n\n\n\n<p>From your WordPress Dashboard, access the page or post you intend to add Schema to. Next, click the three vertical dots in the top right corner, scroll to the bottom of the new sidebar, and click <em>Options<\/em>. Ensure the <em>Custom fields<\/em> option is checked under <em>Advanced panels<\/em>. Now you can add your Schema in WordPress.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Generate Your Code<\/h4>\n\n\n\n<p>You can create your Schema markup code via Google\u2019s <a href=\"https:\/\/www.google.com\/webmasters\/markup-helper\/\" target=\"_blank\" rel=\"noreferrer noopener\">Structured Data Markup Helper<\/a>. Enter the topic of your webpage and the URL, then press <em>Start Tagging<\/em>.<\/p>\n\n\n\n<p>From the next screen, you can generate Schema markup by clicking on different elements. For example, you can highlight the post\u2019s author and select \u201cAuthor\u201d from the dropdown menu.<\/p>\n\n\n\n<p>When finished, click <em>Create HTML<\/em> in the top right corner and copy the JSON-LD snippet that follows.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Insert the Code<\/h4>\n\n\n\n<p>Go back to your WordPress post and scroll to the bottom to find the <em>Custom Fields<\/em> area. Click <em>Enter New<\/em>, name your markup, and paste your code into the <em>Value <\/em>field.<\/p>\n\n\n\n<p>To save this change, click <em>Add Custom Field<\/em> under the Name box, then scroll to the top of the page and hit <em>Update<\/em>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4: Update Your Header File<\/h4>\n\n\n\n<p>From your Dashboard, navigate to <em>Appearance <\/em>&gt; <em>Header<\/em>. Then, under <em>Theme Files<\/em>, open <em>header.php<\/em>. In the window that opens, paste the following code before the tag:<\/p>\n\n\n\n<p>Press <em>Update File<\/em>, refresh the page, and you\u2019re all set!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schema.org<\/h2>\n\n\n\n<p><a href=\"http:\/\/schema.org\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"font-weight: 400\">Schema.org<\/span><\/a><span style=\"font-weight: 400\"> is an agreed-upon set of vocabulary terms used to describe WordPress website structure and data. Professional teams from Google, Yahoo, and Bing came together to create consistency in their structure and terminology. This means regardless of which format you use to generate your structured data markup, search engines will know what it means because there is common language used in all of them. Head to Schema.org to learn more about the <\/span><a href=\"http:\/\/schema.org\/docs\/full.html\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"font-weight: 400\">core vocabulary<\/span><\/a><span style=\"font-weight: 400\"> used in Schema markup.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Test Schema Markup<\/h2>\n\n\n\n<p>After using a plugin to set Schema markup or manually configuring it yourself, you may want to test and make sure the search results for your website are appearing as you intended. Fortunately, Google has created the <a href=\"https:\/\/search.google.com\/structured-data\/testing-tool\/u\/0\/\" target=\"_blank\" rel=\"noreferrer noopener\">Structured Data Testing Tool<\/a> for exactly this purpose:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2528\" height=\"684\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test.png\" alt=\"Schema Markup Guide for WordPress: How to add Schema Code Effectively\" class=\"wp-image-34683\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test.png 2528w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test-300x81.png 300w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test-768x208.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test-1024x277.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/torquemag_structured_data_test-1500x406.png 1500w\" sizes=\"auto, (max-width: 2528px) 100vw, 2528px\" \/><\/figure>\n\n\n\n<p><span style=\"font-weight: 400\">You can either enter a URL to test existing Schema markup, or enter a code snippet to test it before using it on your website. We recommend using the code snippet tester to ensure all works as intended without errors or warnings before embedding the markup on your website. <\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WP Engine and Schema Markup<\/h2>\n\n\n\n<p>Here at WP Engine, our <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting platform for WordPress<\/a> is finely tuned for your success. Our servers are built for superior site performance to provide the best experience for your users and <a href=\"https:\/\/wpengine.com\/resources\/webinar-wordpress-seo-best-practices\/\" target=\"_blank\" rel=\"noreferrer noopener\">give your SEO a boost<\/a>. Ready to get started? Explore our <a href=\"https:\/\/wpengine.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Engine plans<\/a> today!\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The way your website appears in search results certainly influences how many and what types of visitors you receive. Consequently, it\u2019s important to seek out ways to enhance how your site is represented by search engines to drive more high-quality traffic your way.&nbsp; Schema markup can help search engines determine how to index your content<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":1,"featured_media":34691,"template":"","resource-topic":[904,910,901],"resource-role":[903,899],"resource-type":[916],"class_list":["post-34675","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Schema Markup in WordPress: A Guide<\/title>\n<meta name=\"description\" content=\"Enhance your SEO with schema markup. Check out this detailed guide on adding schema code in WordPress for better indexing by search engines.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Schema For WordPress\" \/>\n<meta property=\"og:description\" content=\"Schema sends structured data to search engines to help them understand your website. Learn how to use JSON-LD schema to improve your SEO.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-12T19:16:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/schema_wordpress_banner_2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Schema For WordPress\" \/>\n<meta name=\"twitter:description\" content=\"Schema sends structured data to search engines to help them understand your website. Learn how to use JSON-LD schema to improve your SEO.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/schema_wordpress_banner_2.png\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/\",\"name\":\"How to Add Schema Markup in WordPress: A Guide\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2022-04-19T23:30:00+00:00\",\"dateModified\":\"2025-03-12T19:16:44+00:00\",\"description\":\"Enhance your SEO with schema markup. Check out this detailed guide on adding schema code in WordPress for better indexing by search engines.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"A Guide to Adding Schema Markup with WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085\",\"name\":\"WP Engine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"caption\":\"WP Engine\"},\"sameAs\":[\"https:\/\/wpengine.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Schema Markup in WordPress: A Guide","description":"Enhance your SEO with schema markup. Check out this detailed guide on adding schema code in WordPress for better indexing by search engines.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Schema For WordPress","og_description":"Schema sends structured data to search engines to help them understand your website. Learn how to use JSON-LD schema to improve your SEO.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2025-03-12T19:16:44+00:00","og_image":[{"width":1100,"height":400,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/schema_wordpress_banner_2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_title":"Schema For WordPress","twitter_description":"Schema sends structured data to search engines to help them understand your website. Learn how to use JSON-LD schema to improve your SEO.","twitter_image":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/schema_wordpress_banner_2.png","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/","name":"How to Add Schema Markup in WordPress: A Guide","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2022-04-19T23:30:00+00:00","dateModified":"2025-03-12T19:16:44+00:00","description":"Enhance your SEO with schema markup. Check out this detailed guide on adding schema code in WordPress for better indexing by search engines.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/schema-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"A Guide to Adding Schema Markup with WordPress"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085","name":"WP Engine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","caption":"WP Engine"},"sameAs":["https:\/\/wpengine.com"]}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/01\/schema_wordpress_grid_2.png","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Marketer, Site Owner","topic":"<strong>Topics:<\/strong> Marketing, SEO, WordPress","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/34675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/1"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/34691"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=34675"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=34675"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=34675"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=34675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}