- This topic has 6 replies, 2 voices, and was last updated 1 year, 1 month ago by Tom.
March 8, 2020 at 2:31 am #1188424Michael
I’m trying to get to the bottom of a weird schema markup issue and have had lots of emails back and forward with RankMath, Ecwid and Google Webmaster Forum. The issue is that on my shop product pages there is triplicate schema markup. For example:
Trying to work out where this is coming from is the cause of the to-and-fro emails. I think it is being injected by Ecwid, but not all parties agree. One of the Product Experts on the Google Webmaster Forum suggested that:
With the product markup, the dynamically added and hidden microdata version is most likely Ecwid. The other microdata version is most likely part of the theme. And the JSON-LD version may be from a plugin?
To my knowledge GP doesn’t add schema? Or am I wrong? If you guys have any insights on the triplicate schema situation they would be gratefully received. Thanks very much for your help.
Michael.March 8, 2020 at 6:09 am #1188509Michael
Is the creative work schema added by GP?March 8, 2020 at 9:17 am #1188763TomLead DeveloperLead Developer
Yes, GP adds some microdata to the HTML.
You can turn it off like this:
add_filter( 'generate_schema_type', '__return_false' );
Let me know if you need more info 🙂March 8, 2020 at 11:59 pm #1189185Michael
Hi Tom, thanks very much for getting back to me.
Can you help me clarify if/why the additional schema are helpful to include? For example, I looked up creativework on schema.org and all it says is:
The most generic kind of creative work, including books, movies, photographs, software programs, etc.
I find that it’s difficult to get any useful info from that site about best use practices and so on. Thank you for your help.
Michael.March 9, 2020 at 7:58 am #1189765TomLead DeveloperLead Developer
We’ve included general schema that can be helpful to your site, but it’s not overly specific as the theme can be made into anything.
If you’re using JSON-LD in a plugin, it’s best to disable the theme schema and go with the plugin.March 9, 2020 at 9:50 am #1189905Michael
Thank you Tom. I’ve disabled the theme schema now 🙂March 9, 2020 at 4:49 pm #1190221
- You must be logged in to reply to this topic.