How to add schema markup using JSON-LD

Using schema markup in your site help in increasing search engines’ understanding of your site’s content. Adding schema markup is nothing but adding enhanced description i.e., the rich snippet for your site to appear in search engines.

Schema.org explained,

“Most webmasters are familiar with HTML tags on their pages. Usually, HTML tags tell the browser how to display the information included in the tag. For example, <h1>Avatar</h1> tells the browser to display the text string “Avatar” in a heading 1 format. However, the HTML tag doesn’t give any information about what that text string means — “Avatar” could refer to the hugely successful 3D movie, or it could refer to a type of profile picture—and this can make it more difficult for search engines to intelligently display relevant content to a user.”

Although there are various ways to implement Schema Markup on your website.

I have even introduced one of them in my earlier article: How to Boost Your SEO by Using Schema Markup on Your Website?

Now, in this guide, I am going to guide you on JSON-LD implementation for Schema Markup on your Site. But, first, at all, let me introduce you to JSON-LD.

JSON-LD stands for JavaScript Object Notation for Linked Data. It is a method with, you can encode linked data using JSON. JSON is a format for interchanging lightweight data.

Using JSON-LD means providing a small block of JavaScript code that has all that info.

Why Use JSON-LD?

Previously, the Cumbersome method was used to add Schema.org to your site. In this method, you have to add some code in markup that generally varied from page to page even if adding the same header for every page. This gets problematic sometimes.

Using JSON-LD collect overall data about your product and display it on a single and small piece of JavaScript. You can even push this code anywhere into the page. By doing this, you can independently work on a schema.org implementation.

Google even recommend using JSON-LD as it is the easiest way to add metadata to sites.

How to Add Schema Markup Using JSON-LD ?

JSON-LD comes in a standardized format. Consider the following example.

<script type="application/ld+json">
{
 "@context" : "http://schema.org",
 "@type" : "WebSite", 
 "name" : "InfoPhilic",
 "url" : "http://infophilic.com/",
 "potentialAction" : {
 "@type" : "SearchAction",
 "target" : "http://infophilic.com/?s={search_term}",
 "query-input" : "required name=search_term"
 } 
}
</script>

Once you add new JSON-LD script to your site, make sure you have validated your code. To do so, you can use the Google’s structured data test tool.

If you are using WordPress, there are plugins available to add schema markup to your site.

Here, I have listed some top rated plugins.

1. Schema:

Schema is the best and most rated plugin for adding schema.org by using JSON-LD. This is a lightweight plugin and automatically adds JSON format to WordPress sites.

In addition, unlike other WordPress plugins, there is no hectic setup required. Google mostly recommend using this plugin as it requires minimal settings.

2. Schema App Structured Data:

Schema App Structured Data plugin automatically adds schema.org all your pages, posts, authors and category content. It comes with schema app tools that automatically deploy custom content. You just need to activate the plugin and your contents will be automatically optimized to be fully understood by search engines.

  • No JSON-LD coding required
  • Provide schema markup maintenance

3. WPSSO Schema JSON-LD Markup:

It includes comprehensive and correct schema.org and meta tags as well to your all contents. The fascinating thing about it, it also supports Automattic’s Accelerated Mobile Pages (AMP) plugin.

  • Assigns a Custom Field Value to a Schema Property.
  • Includes contributor markup for Co-Authors Plus authors and guest authors

If you wanna use the plugin, then I recommend using Schema App Structured Data plugin because it is hassle free.

Have you applied JSON-LD Schema Markup by Using JSON-LD? What experience do you have with it? Share in the comments section below.

ALSO READ

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

GET STARTED

Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...

DEALS

WP Coupons

The #1 WordPress coupon plugin for affiliate marketers to increase your CTR and conversions!

POPULAR NOW

Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

How to setup CloudFlare CDN for WordPress blog

In today's world website speed is a crucial element to getting good ranks on the web. Website speed also aids for indexing your site...

How To Reduce Admin-Ajax Server Load In WordPress

To increase better user experience, we always end up by increasing site speed. After clicking a website link seems like a simple thing. But...

How to Delete Multiple Images in WordPress Media Gallery

Hey, guys today one of my friends asked me a question, How can I delete Multiple Images in WordPress? I replied, "It's very simple." Yeah,...

WP Super Cache Plugin: Best Settings & Configuration Guide

A cache plugin serves static contents to the visitor which improves page load speed. There are so many cache plugins available in the...