More threads by Rich Owings

Rich Owings

0
LocalU Member
Joined
Apr 21, 2014
Messages
784
Reaction score
546
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?
 
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!
 
Thanks. There's got to be some way to do it without switching themes. Never thought about a widget though -- another avenue to investigate!
 
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.
 
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.)
 
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?
 

Login / Register

Already a member?   LOG IN
Not a member yet?   REGISTER

Events

LocalU Webinar

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...
Top Bottom