Jason Ld vs Inline Micro Data
-
Hi just wondering what the difference is between the j-son ld and inline microdata for schema markup on Thrive theme website. Does one option have advantages over the other?
-
Hi @selfmade23
Let me clarify this:
1. What is Microdata and JSON-LD Markup?
Microdata is basically the attributes of html codes and on the other hand, JSON-LD is the json type JavaScript code.
2. Which will be placed first according to Google?
Now Google always give first priority to JSON-LD markup. But it depends upon the schema type. Suppose you are using any SEO plugins and those plugins insert JSON-LD Article/BlogPosting/NewsArticle type codes (it always contains datePublished info as well as dateModified info) to your website’s head. But in this case google will display datePublished info every time. But now here is a tweak, now your theme supports basic schema type like WebPage (thrive theme does not support that – need need to enable support for it: Plugin Setting > Misc Options > Turn on Enhanced Schema Support.) and you are using this plugin’s inline markup. Then google will show the dateModified info to SERPs as Article/BlogPosting/NewsArticle is the childern schemas of WebPage Schema type. So in this case your Article/BlogPosting/NewsArticle’s dateModified markup will be ignored.
Now the JSON-LD schema type added by this plugin is CreativeWork (used by the popular websites like wpbeginner) which is the top parent category of all schema types. So, if you enable JSON-LD markup Google will give first priority to it and shows dateModified info to SERPs. It becomes useful if you want to show modified info to the Google only.
Nowadays most of the themes supports default WebPage type schema and adds datePublished schema to post published date. In this situation if you use Inline Macrodata method, Google will always show published date to SERPs. To avoid this you need to use JSON-LD markup of this plugin as WebPage is also a sub category of CreativeWork schema type.
For Thrive themes users I would recommend you to go with Inline Markup and turn on Enhanced Schema Support from Plugin Setting > Misc Options.
I think it would clear all the doubts about schema markup.
Thanks!
- This reply was modified 5 years, 10 months ago by Sayan Datta.
You are a legend Sayan @infosatech . I will definitely ” buy you a coffee” when I get paid next. Thanks for all your help.
One last thing…
This morning I checked the schema testing tool and none of my pages showed Webpage and updated date. However they did yesterday.
I’m just wondering if this was due to an upgrade with the plugin. Did you just add the
Enhanced Schema Support from Plugin Setting > Misc Options today? After i turned this on it seems to be working again. Just want to make sure it wont dissapear again for some other reason.Thanks again
Hi @selfmade23
Yes I have added an option to on/off schema support in v1.4.5 as it helps to keep this option off to other schema supported theme users. You need to just keep enable this.
And thanks for your complement. ??
Hi, I was about to write a topic about the same thing when I found this one.
I’ve got a bit confused with your answer (not sure if the settings apply only to her theme or not), so I’ll tell you about my case first.
I use Newspaper theme by TagDiv. First I was using Inline Microdata but as I didn’t see any change on SERPs (showing first publish date instead), I’ve changed it to JSDON. No results either. In both cases, Enable Enhanced Schema Support was enabled.
Any suggestion on how I should proceed? Just keep in mind I’m a content creator, so if you go to advanced in your explanation maybe I won’t understand, lol.
Thanks for your help and congrats for adding modified time gap on the update, we really needed that! ??
Sure! You can use this post as an example: https://holandesando.com/keukenhof-guia-completo-tulipas-holanda/
Thanks!
Hi,
You need to manually edit your theme files to fix this issue. Actually, your theme already has schema markups (see here: https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fholandesando.com%2Fkeukenhof-guia-completo-tulipas-holanda%2F ) and Newspaper Theme does not use any filters.
To show only last modified date to SERPs, it is important to remove datePublished schema from your website: https://prntscr.com/mn5ls7
If you want to edit your theme files (may need to do some custom coding), then let me know. I will definitely help you!
Thanks!
Sure, I’d love if you could help me with that! *.*
Hi Sayan,
Thanks a lot for your clarification regarding JSON-LD markup. Very clear info!
However, I have one question: I see one website that has only WebPage schema and, as you mentioned, it contains both datePublished and dateModified info. However, Google still shows dateModified date in SERP. How do they achieve it?
Here is the website mentioned: https://www.gearhungry.com/best-dartboard/
Thanks in advance!
- The topic ‘Jason Ld vs Inline Micro Data’ is closed to new replies.