Archived topic
where to add schema.org json script in GP hook
5 replies · Started by Ron on February 17, 2019
I have added schema.org script to wp_fotter but MozBar reports that I schema.org not found
should json script be place some where else
Thanks for your help
It should work in the wp_footer hook.
Can you try using the Google checker?
https://search.google.com/structured-data/testing-tool
wp_footer should definitely work.
I checked your HTML and I'm not seeing any JSON-LD in the footer. Is it still added?
thanks for the quick reply
it checks out fine on https://search.google.com/structured-data/testing-tool
not sure why MozBar is not seeing change will check in 48 hr
Thank You for your time
Ron
Tom
I had to leave for a while so removed script
replaced back in wp_footer and checked with https://search.google.com/structured-data/testing-tool
and all is good!
Thank You for checking
Ron
Perfect :) No problem!