[Resolved] where to add schema.org json script in GP hook

Home Forums Support [Resolved] where to add schema.org json script in GP hook

Home Forums Support where to add schema.org json script in GP hook

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #813092
    Ron

    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

    #813104
    threepoint

    It should work in the wp_footer hook.
    Can you try using the Google checker?
    https://search.google.com/structured-data/testing-tool

    #813130
    Tom
    Lead Developer
    Lead Developer

    wp_footer should definitely work.

    I checked your HTML and I’m not seeing any JSON-LD in the footer. Is it still added?

    #813168
    Ron

    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

    #813169
    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

    #813172
    Tom
    Lead Developer
    Lead Developer

    Perfect 🙂 No problem!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.