Ways to add schema markup to individual location pages in WordPress

Rich Owings

Local Search Expert
LocalU Member
Joined
Apr 21, 2014
Messages
637
Anyone have suggestions for the best way to add schema markup to individual location pages in WordPress? In this case it is a dentist with two locations. If I wanted to add it sitewide, that is easy, but what's a good way to do it for an individual page?

Also, what kind of sitewide or homepage schema (if any) would you add for a business with two locations?
 

mborgelt

Member
Joined
Jul 22, 2012
Messages
474
The Chameleon Theme allows you to set up widgets to appear on certain pages. Using that you could put the necessary schema in a text widget and assign that widget to the appropriate page. We like to add schema to sites with multiple locations manually as it's easy to do. Once you validate the markup with https://developers.google.com/structured-data/testing-tool/ you can save the code to a text doc and just copy/paste to new pages. Hope this helps!
 

mborgelt

Member
Joined
Jul 22, 2012
Messages
474
Yes widgets are great for this sort of thing. You could create different page themes that use different widgets and load up the appropriate schema in each widget. That seems like the best option. Sorry I thought you were building a new site.
 

Phil Rozek

Local Search Expert
Joined
Jul 26, 2012
Messages
1,558
Rich,

I'd use the following types of Schema:

1. The usual NAP blob - with the appropriate itemtype attribute (see http://www.localvisibilitysystem.co...ht-schema-org-markup-for-your-local-business/)

2. Hours: https://schema.org/openingHours

3. Review (for at least one testimonial): https://schema.org/Review

David Deering also did an excellent post a couple months ago over at Whitespark:

Why Your Local Business Schema Sucks and How To Make it Better | Whitespark

(In case you're looking to go beyond.)
 

Rich Owings

Local Search Expert
LocalU Member
Joined
Apr 21, 2014
Messages
637
Thanks, Phil. I've seen those links (your blog is on my must read list!) but it's always good to have a reminder.

Would anyone care to chime in on what schema (if any) should be posted site-wide, or whether it should all just go on the home and location pages?
 

Weekly Digest

Weekly Digest
Subscribe/Unsubscribe

Trending: Most Viewed

  Promoted Posts

New advertising option: A review of your product or service posted by a Sterling Sky employee. This will also be shared on the Sterling Sky & LSF Twitter accounts, our Facebook group, LinkedIn, and both newsletters. More...

  Local University Guide

Google Product Exert


Top