JSON-LD (Schema) Rendering Issues
-
Love your plugin. I’ve worked with a dozen and yours is the best so far.
I’m trying to get JSON-LD examples in blog posts but when I try to view it it’s all messed up. If I remove the <script> tags it works fine but I want my users to be able to post the sample code to Google Structured Data Tool.
Example Code
<script type=”application/ld+json”>
{
“@context”: “https://schema.org”,
“@type”: “LocalBusiness”,
“address”: {
“@type”: “PostalAddress”,
“addressLocality”: “Mexico Beach”,
“addressRegion”: “FL”,
“streetAddress”: “3102 Highway 98”
},
“description”: “A superb collection of fine gifts and clothing to accent your stay in Mexico Beach.”,
“name”: “Beachwalk Beachwear & Giftware”,
“telephone”: “850-648-4200”
}
</script>
- The topic ‘JSON-LD (Schema) Rendering Issues’ is closed to new replies.