WP Rocket Black Friday - WordPress Caching Plugin
InfoPhilicSEOHow to add schema markup using JSON-LD

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" : "https://www.infophilic.com/",
 "potentialAction" : {
 "@type" : "SearchAction",
 "target" : "https://www.infophilic.com/?s={search_term}",
 "query-input" : "required name=search_term"

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.

You'll also like:

Continue to the category
Amit Malewarhttps://www.infophilic.com/
Amit Malewar has been the tutorial writer since 2013. His passion for helping people in all aspects of technology flow through the expert coverage he provides. In addition to writing for InfoPhilic, Amit loves to read and try new things.

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.


Please enter your comment!
Please enter your name here




Astra Theme

Looking for a WordPress theme that's fast, elegant & customizable? Meet Astra! It's customizer powered, SEO friendly and compatible with major page builders.