Have you ever seen those Google search listings with these star rating?
You know, that they really grab the attention of the user while scrolling?
What are Schema markup and rich snippets?
Schema markup, or structured data markup as Google calls it, is behind-the-scenes code that makes it easier for search engines to understand the context and structure of your content.
Schema markup or structured data markup is backend code that makes it easier for search engines to understand the context and structure of your content to Google. And this markup style is maintained at schema.org, which is supported by Google, Bing, Yahoo, and Yandex.
Depending on what type of content you have, you can add different schema markup. Schema markup most commonly used in the following:
- Software applications
So how can you add schema markup to WordPress for your content? Just follow this guide:
Step 1: Install a Schema markup Plugin
There are several plugins to add schema to your WordPress but I have chosen All in One Schema Rich Snippets because of its reputation and support for most rich snippets:
To start to install and activate the All in One Schema markup plugin on your WordPress site
Then, go to the Rich Snippets tab on the left side of your WordPress dashboard.
Step 2: Configure and add schema to WordPress
After activation the schema functionality is already added to your WordPress site, however, you can configure what shows up. After that, you have to specify each post or page if you’d like to show the schema markup on your search results
Go to the Rich Snippets page, here you’ll see a configuration tab, where all of the schema markup types are shown. When you click on one option, let’s say Item Review, various fields are shown, specifying which rich snippets show up on the frontend and on the search results.
You don’t have to change anything on this page, but it’s good to know which snippets are showing. If needed you can also remove some of them
For example, you might not want to have a rating or a review date then you can also remove it:
The customization tab provides you the colors to adjust. Here you have the option to leave the presets, but if you want you can adjust it to match the snippet box to your website’s branding. This snippet box will appear at the bottom of your WordPress page or post. Click on update color when everything is customized.
Schema markup works wonders for eCommerce websites. You can Highlight your products and feature your customer ratings right in the search engine. However, I would recommend removing this checkbox if you have WooCommerce running because WooCommerce plugin already comes with schema support, so it conflicts by adding a duplicate schema.
Step 3: Configure rich snippets on your pages
Once you find the Configure Rich Snippets module, select the drop-down menu to see options, for this tutorial, I’m choosing service.
1. Upload image from your media file
2. You can add service type, Service Service Area, Description of your service, Provider Name, location
3. Enable rating to let your customers rate your service or item and now update your post or page
4. After publishing or previewing the post, you can see the rich snippet towards the bottom of the page:
That’s how to add schema to WordPress
Schema markup is a great way to make your content more visible in the organic search results, so it’s worth taking the time to add it to your website.