Site logo

Archived topic

Best place to add "schema.org metadata ld+json" script

3 replies · Started by Rafael Q. on March 1, 2017

Viewing posts 1–4 of 4

I'm still learning about GP. where would be the best place to add "schema.org metadata ld+json" script to the side? I've been reading and I know goes under GP Hooks, but which one of them?
Thanks for the help.

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Blog",
"url": "https://digimobileus.com/blog/"
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "Digimobile",
"url": "https://www.digimobileus.com",
"sameAs": [
"https://www.facebook.com/digimobile/",
"https://plus.google.com/+Digimobileus",
"https://twitter.com/digimobileus",
"https://www.yelp.com/biz/digimobile-ronkonkoma",
"https://foursquare.com/digimobileus"
]
}
</script>

Hi Rafael,

That can go in the wp_footer hook.

Hope this helps!

Thank You.

You're welcome :)

This archived topic is closed to new replies.