An old post of your’s (Tom’s) mention putting the script in the footer. Then I also see where it is suggested to put the script into wp_head by using a hook. Id i that and then ran the Google Structured Data Testing tool (https://search.google.com/structured-data/testing-tool) and while I received no errors, the ony “elements” I see are the ones coming from Generate Press itslef. Here is the code I used in the wp_head using a hook
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LegalService",
"name": "Toledo Court Reporter - Lori Wozniak",
"address": {
"@type": "PostalAddress",
"streetAddress": "3329 Gallatin Rd",
"addressLocality": "Ottawa Hills",
"addressRegion": "OH",
"postalCode": "43615"
},
"image": "https://toledocourtreporter.com/wp-content/uploads/2017/12/court-gavel.png",
"email": "lori.wozniak@toledocourtreporter.com",
"telePhone": "419-472-2528",
"url": "https://toledocourtreporter.com",
"paymentAccepted": [ "cash", "check", "credit card", "invoice", "paypal" ],
"openingHours": "Mo,Tu,We,Th,Fr 08:00-17:00",
"geo": {
"@type": "GeoCoordinates",
"latitude": "41.669331",
"longitude": ""
},
"priceRange":"$$"
}
</script>
Any ide where I am going wrong? First time trying this, a bit in deep water for me, but willing to learn.