Ask ChatGPT for "an emergency plumber in Seattle open on Sundays" and it has to establish three facts about every candidate: what the business does, where it is, and when it is open. LocalBusiness schema states all three in one block of JSON-LD that sits in the page's code, so a crawler does not have to piece them together from a footer and a contact page.
We build LovedByAI, an AI search optimization platform for small businesses. It does the on-page work that helps ChatGPT, Google's AI Overviews and Perplexity read, cite and recommend a business's website, then reports the AI mentions and AI referral visits that follow. We checked each plugin below against its WordPress.org listing or documentation on 21 October 2026, and dropped two that older guides, including an earlier version of this one, still recommend: WP SEO Structured Data Schema, which WordPress.org has closed over a security issue, and SNIP, which has not been tested against the last three major WordPress releases.
What is LocalBusiness schema, and does AI search use it?
LocalBusiness is the Schema.org type for a business with a physical location or a defined service area. It carries the business type (Dentist, LegalService, Plumber, Restaurant and dozens more), the name, the address, the phone number, opening hours, map coordinates and the area served. On a WordPress site it is usually written as JSON-LD in the page head.
Google uses it to confirm business details, and AI assistants read it alongside the visible page when they fetch a page to answer a question. It works best as confirmation: the same facts on the page, in the schema and on the Google Business Profile.
7 WordPress plugins for LocalBusiness schema, compared
| Plugin | LocalBusiness subtypes | Opening hours | Multiple locations | Cost |
|---|---|---|---|---|
| Rank Math | Yes, in Local SEO settings | Yes | Rank Math Pro | Free, Pro for locations |
| Yoast Local SEO | Yes | Yes | Yes | Paid add-on to Yoast SEO |
| AIOSEO | Yes, Local SEO add-on | Yes | Yes | Paid plans |
| SEOPress PRO | Yes | Yes | Yes, multiple stores | Paid (PRO) |
| Schema & Structured Data for WP & AMP | Yes, all subtypes | Check settings per type | Via separate schema entries | Free, premium add-ons |
| Five Star Business Profile and Schema | Yes | Yes | Yes | Free |
| Schema Pro | Yes | Yes | Via separate schema entries | Paid only |
1. Rank Math: LocalBusiness schema inside the SEO plugin you may already run
Rank Math's Local SEO settings set the business type, address, phone, opening hours and geo coordinates for the site, and its Local Business block can show the same details on a page. Multiple locations, each with its own schema and a store locator, need Rank Math Pro. If Rank Math is already your SEO plugin, start here rather than adding a second plugin.
2. Yoast Local SEO: the local add-on for Yoast SEO sites
Yoast Local SEO is a paid add-on to Yoast SEO. It adds the business type, address, opening hours and multiple locations to Yoast's single schema graph, and blocks for showing addresses, maps and opening hours on pages. It is the natural pick for sites already on Yoast, because it extends the existing graph instead of adding a second one.
3. AIOSEO: guided LocalBusiness setup for non-technical owners
AIOSEO's Local SEO add-on, part of its paid plans, handles single and multiple locations, opening hours and maps. Its setup wizard suits owners who want to answer questions rather than fill in schema fields.
4. SEOPress PRO: LocalBusiness with opening hours and multiple stores
SEOPress lists Local Business schema with opening hours and multiple stores as a PRO feature. The free plugin covers general SEO and, in 2026, llms.txt. It was the top answer in an r/Wordpress thread from site owners asking for a lightweight, no-code way to add business schema.
5. Schema & Structured Data for WP & AMP: free, with every LocalBusiness subtype
This free plugin by Magazine3, on more than 100,000 sites, supports LocalBusiness with all its subcategories plus dozens of other types, and works on AMP pages. It is the fullest free option, at the cost of more settings to learn. If you also run an SEO plugin, switch off that plugin's overlapping schema types.
6. Five Star Business Profile and Schema: a contact card that writes its own schema
Five Star Business Profile adds a contact card to a page (address, phone, opening hours, map) and outputs the same details as LocalBusiness JSON-LD, with support for multiple locations. It suits small sites whose contact page is the main source of truth, because the visible card and the schema cannot drift apart.
7. Schema Pro: paid schema plugin for agencies
Schema Pro is a paid plugin (not on WordPress.org) that maps schema types, LocalBusiness included, to posts, pages or custom post types by rule, which suits agencies setting up many client sites the same way.
Where LovedByAI fits with a LocalBusiness schema plugin
LovedByAI is not a LocalBusiness plugin, and it is designed to run next to one. It adds Organization and FAQPage JSON-LD and merges it into the schema your SEO plugin already outputs, so the business ends up described once. It fills in identity details the plugin may be missing (telephone, address and social profiles found on your own pages), writes a visible FAQ section for each page with matching FAQPage markup, and rewrites headings as the questions customers ask. Keep Rank Math, Yoast Local SEO, AIOSEO or SEOPress for the LocalBusiness subtype, opening hours and locations.
How to add LocalBusiness schema to WordPress without a plugin
If you would rather not add a plugin, print the JSON-LD from a child theme or a code snippets plugin through the wp_head hook, on the homepage and the contact page only. This is the shape of a complete single-location block:
{
"@context": "https://schema.org",
"@type": "Plumber",
"@id": "https://www.example-plumbing.com/#business",
"name": "Example Plumbing",
"url": "https://www.example-plumbing.com/",
"telephone": "+1-206-555-0142",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98101",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 47.6062,
"longitude": -122.3321
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:00",
"closes": "18:00"
}
],
"areaServed": { "@type": "City", "name": "Seattle" },
"sameAs": ["https://www.facebook.com/exampleplumbing"]
}
Before you add it, check that no plugin already outputs a LocalBusiness block, or you will have two. Our guide to adding JSON-LD to WordPress has the PHP function and the filters for extending Yoast SEO's or Rank Math's graph instead of adding beside it.
Which LocalBusiness schema fields matter most?
- The most specific @type that fits (Plumber, Dentist, LegalService), not plain LocalBusiness.
- Name, address and telephone exactly as they appear on your Google Business Profile.
- openingHoursSpecification, kept current, including holiday changes.
- geo coordinates and areaServed, which matter for "near me" and service-area questions.
- sameAs links to your official profiles, so the business can be matched across sites.
- priceRange, if you can state it honestly.
How to check that your LocalBusiness schema is working
- Run the homepage and contact page through Google's Rich Results Test and the Schema Markup Validator. Confirm exactly one LocalBusiness block per location, with no errors.
- Compare the name, address, phone and hours in the schema with the page and your Google Business Profile, character for character.
- Clear your cache. Caching and minification plugins sometimes strip or break script tags.
- Ask ChatGPT or Perplexity a question a customer would ask, such as an emergency plumber in your city, and check whether the details it gives about your business are right. A wrong address or old hours usually points to a page or profile that disagrees with the rest.
The free GEO checker also checks your structured data and whether AI crawlers can reach the page. Businesses in regulated fields have extra detail to get right; our guide to GEO for law firms covers LegalService and attorney markup.

