How To Add Schema Markup Microdata To WordPress Without Plugin

November 17, 2018 0 By Aman Potlia
How To Add Schema Markup Microdata To WordPress Without Plugin

How To Add Schema Markup Microdata To WordPress Without Plugin:- Hello Webmasters, Hope You Are Doing Well. Today I Come Up With A New Guide On How To Add Schema Markup Microdata To WordPress Without Plugin. So, In This Guide I Will Tell You How You Can Add Schema Markup Microdata To Your WordPress Website Without Any Plugin.

As You All Know, Schema Markup Data Perform An Important Role In SEO And Serp. If Your MicroData Are Valid And Properly Implemented In Your Website, Then It Will Generate Rich Snippets of Your Post. Rich Snippets Help You To Get More Visitors On Your Website And A Better Position In Search Results.

So, To Generate A Valid And Properly Implemented Schema Markup Data to Your WordPress Website You Need To Use Some Plugins. But Plugins Have Their Own Con’s. Like They Include Their Own Css And Some Time Their Own Js To Perform Required Action To Generate Schema Markup For Your Website/Blog. These Extra Css And Js Will Affect Your Website Loading Time And Increase It. Increasing Loading Time Will Reversely Affect Your Website Position In Search Results.

That’s Why Using A Plugin To Generate Schema Markup Data To Your WordPress Website Are Not A Good Idea. So, To Generate A Valid Markup Data To Your WordPress Website, You Need To Follow Steps. These Steps Will Help You To Add Schema Markup Microdata To WordPress Without Plugin. I am Personally Using This Method To Generate Schema Markup Microdata To My Website. So, Follow Below Steps To Generate Valid And Working Schema Markup For Your WordPress Blog/Website.

Step By Step Guide On How To Add Schema Markup Microdata To WordPress Without Plugin

To Add A Valid And Complete Schema Markup To Your WordPress Blog Without Any Plugin, You Need To Follow Below Given Process. Follow It As Its Given. Skipping Any Step, Cause Errors In Your Schema Markup Microdata. So Without Any Delay, Lets Start. First of All, We Add Schema Markup Data For Our Website. I Use Links To Give You Code. Here Are Reason, Why I Providing You Codes From Other Pages. Read It, Before You Go Ahead. It Contains Useful Info For You.

How To Add Schema Markup Microdata To WordPress Homepage Without Plugin

First of All, You Need To Tell Google That Its A Website. So To Tell That, We Use Following Microdata On Your Blog/Website Homepage. Some Theme Already Comes With This, So Before Proceed Check It Using Google’s Structured Data Testing Tool. If It’s Not Present Then Use Below Code To Generate. Remember to Use It Only For Homepage. Don’t Paste In Head Section of Your Website, Otherwise It Will Showing On All Page.

To Get Code Visit This Page.

As I Say Just Paste It Only On Your WordPress Website Homepage. If You Don’t Know How To Do It. Then Here Are A Helping Hand For You. First of All, Open Your WordPress Dashboard And Move Your Cursal On Appearance And After Appearing Option Menu Click On Editor. Then Find the Theme Header (header.php) File From Listed Files And Click On It.

Now Paste Below Code There At Last.

<?php if ( is_front_page() ) { ?>

Paste Above Code Here

<?php } ?>

Before Saving This Code On Your Website, Change Values According To Your Info. Like Website URL, Name, Description And Your Name Etc.  One More Thing Change Search Value According To Your Search Result Url. For Example, My Url Patteran Are https://www.newtricksinfo.com/?s=Searched+keyword And Your Patteran Are Different Than It, Then Modify target:http:\/\/139.59.93.129\/?s={search_term_string}, According To Your Search Url.

That’s it After Settings You Are Ready For Next Move. Now After Homepage, We Add Schema Markup For Our Blog Post. To Do That Follow Below Process.

How To Add Schema Markup Microdata To WordPress Posts Without Plugin

Now We Add Schema Microdata For Our Posts. This Will Help You To Generate Rich Snippets For Your Posts. To Do That Move Your Cursal On Appearance And After Appearing Option Menu Click On Editor. Then Find the Theme Single Post (single.php) File From Listed Files And Click On It.

Now Copy Below Code And Pate There Before get sidebar or get footer  Coding.

To Get This Code Visit This Page.

Now Before Saving, Change The Value According To Your Own Info, And I Used get_the_content() To Get Post Data Because This Variable Used In My WordPress Theme. Change This Variable According To Your Post Variable To Fetch Post In Microdata. That’s It. It’s Enough For Today. In Upcoming Post I Will Tell You How To Generate Microdata For Breadcrumbs And Menu. Keep Supporting And Visiting.

So This Is A Complete Guide On How To Add Schema Markup Microdata To WordPress Without Plugin. Let us know how’s your experience with This Guide On How To Add Schema Markup Microdata To WordPress Without Plugin Using Comment Section.

If Like This Post, Then Share It With Your Friends On Social Media By Using Below Buttons.

Subscribe Our E-Mail Newsletter For Getting Latest Tips And Tricks In Your Inbox.

(Visited 91 times, 1 visits today)