Frank D. Gomez, BSN, RN

Registered Nurse

Adding JSON-LD Schema Markup For a Business on the Genesis framework

September 23, 2015 By Frank Gomez Leave a Comment

I’ve spent hours – no really, HOURS – messing with inline Schema markup for our client’s websites, trying to get everything set up so that Google knows what kind of data we’re using.

According to our SEO partners, schema is simply essential. But, it’s not always simple. Unless the info, (for example, an address and phone number) is wrapped in one div, Google’s Structured Data Testing Tool just doesn’t want to play nice.

We recently discovered the joy of JSON-LD and how easy it makes schema markup. If you regularly add schema to info on Genesis websites, you should consider using JSON-LD. I found this nifty plugin called Per Page Add to Head. It lets you easily add in content to the <head> of any page, so pages with different content can have different schema markup.

Here’s an example of the JSON-LD markup I used for a landscaping company’s website:

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"address": {
"@type": "PostalAddress",
"addressLocality": "Haskell, NJ",
"postalCode": "07420",
"streetAddress": "7 Argyle Street"
},
"email": "staff@tapestrynj.com",
"name": "Tapestry Landscape Architecture",
"telephone": "(973) 850 4074"
}
</script>

Adding this to the <head> let me leave the address, phone number, and email untouched in the page body itself, instead of having to wrap it with span and item properties and then testing/tweaking it with the Structured Data Testing Tool.

So far, this has been working perfectly and makes my job SO much easier. If you have more data than the example above, just check out the JSON-LD playground for additional guidance.

Filed Under: Schema, WordPress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2023 · All Rights Reserved.
###