Add Local Business Schema To WordPress
LocalBusiness Schema embeds structured data into your website, providing search engines with verified details about your physical business locations.
Implementing Local Business Schema optimizes your website for local search queries, helping your business rank prominently in Google Search results and Google Maps.
In Google search results pages (SERPs), potential customers can instantly:
- Get turn-by-turn driving directions to your office or store.
- Click to call your phone number directly from mobile search results.
- Check live opening and closing hours.
- Access your official website URL.
For multi-location businesses, structured schema data must be generated for each individual physical address.
Pre-Requisites
Section titled “Pre-Requisites”- A WordPress Website (5.0 or higher)
- Divi Theme or Divi Builder (optional, for Divi Modules)
- WordPress Schema Plugin For Divi, Gutenberg & Shortcodes
Install & Activate Plugin
Section titled “Install & Activate Plugin”
-
Visit the WordPress Schema Plugin Page.
-
Sign up for a 7-day FREE trial.
-
You will receive an email with download and activation instructions.
-
Download, install, and activate the plugin on your WordPress site.
- For step-by-step instructions on installing WordPress plugins, visit the Plugin Installation Guide.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Configure Global Local Business Settings
Section titled “Configure Global Local Business Settings”
-
Before creating a Local Business Schema profile, configure global plugin settings:
-
- Google Maps Settings: Required for Business Location Address, Google Maps, and Store Locator features.
- Google Maps API Key:
- Required to display interactive Google Maps and Store Locators.
- Obtain your API key from the Google Maps Platform Console.
- Google Maps API key details: Google Maps Pricing & Plans.
- Enable the Google Places API for store locator search autocomplete.
- Custom Marker Icon:
- Upload a custom map pin image to replace Google’s default red map marker.
- Google Maps API Key:
- Multiple Locations Settings: Designed for businesses with multiple store locations.
- Enable Multiple Locations: Check this option to automatically create a custom post type for managing multiple business locations.
- Locations Slug: The URL slug structure for individual location pages (default is
locations, e.g.,https://example.com/locations/mountain-view). - Locations Label - Singular: The singular admin label (default: Location).
- Locations Label - Plural: The plural admin label (default: Locations).
- Global Defaults: Set default business hours applied across locations.
- Opening Hours: A repeater list specifying opening and closing times for each day of the week (Monday through Sunday in 24-hour format).
- Google Maps Settings: Required for Business Location Address, Google Maps, and Store Locator features.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Activate & Setup Local Business Schema Profile
Section titled “Activate & Setup Local Business Schema Profile”
-
Go to WordPress Admin > SEO Schema.
-
Click the Local Business tab in the sidebar navigation.
-
Click Add Local Business.
-
Enter a descriptive name for your schema profile (e.g., “Store Locations Schema”) in the popup modal, then click Save.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Include and Exclude Rules for Local Business Schema
Section titled “Include and Exclude Rules for Local Business Schema”
-
Configure which pages or post types should automatically output Local Business Schema:
(Note: Exclude rules take precedence over Include rules if a post matches both conditions.)
- Include Singular Posts By Type:
- Select public post types (e.g., Locations, Pages) from the autocomplete dropdown.
- Applies Local Business Schema automatically to all published entries under the selected post types.
- Include Specific Posts:
- Select individual location landing pages from the autocomplete field.
- Applies Local Business Schema exclusively to the selected pages.
- Exclude Specific Posts:
- Select specific pages to exclude from generating Local Business Schema.
In the example above, the post type Locations is selected for inclusion.
- Include Singular Posts By Type:
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Configure Local Business Schema Fields
Section titled “Configure Local Business Schema Fields”
-
Map your business details to official Local Business schema properties:
-
-
Local Business Type: Select the industry classification that best describes your business (e.g., Store, Restaurant, Medical Clinic).
-
Name: Legal name of the business.
- Available source mapping options:
- Blog Name: Uses the site name from WordPress settings.
- Title: Dynamically uses the post title for each location entry.
- Fixed Value / Custom Fields: Map static text or custom meta fields.

- Available source mapping options:
-
Image: Image URL representing the storefront or facility.
- Available source mapping options:
- Featured Image: Dynamically uses the post featured image URL.
- Fixed Value / Custom Fields: Select a Media Library image or map custom image fields.

- Available source mapping options:
-
Telephone: Primary customer contact phone number including country and area code.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field, enter static number, or map custom phone field.

- Available source mapping options:
-
Fax Number: Official business fax number.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field, enter static number, or map custom fax field.

- Available source mapping options:
-
Email: Primary business email address.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field, enter static email, or map custom email field.

- Available source mapping options:
-
URL: Canonical web address for the location page.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field, enter static URL, or map custom URL field.

- Available source mapping options:
-
VAT ID: Value-Added Tax identification number.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field or map custom VAT ID field.

- Available source mapping options:
-
Tax ID: Corporate Tax or Fiscal ID number.
- Available source mapping options:
- None / Fixed Value / Custom Fields: Omit field or map custom Tax ID field.

- Available source mapping options:
-
Street Address: Physical street address (e.g., 1600 Amphitheatre Pkwy).
- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map address custom fields.

- Available source mapping options:
-
Locality: City or town name (e.g., Mountain View).
- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map city custom fields.

- Available source mapping options:
-
Postal Code: Zip or postal code (e.g., 94043).
- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map zip code custom fields.

- Available source mapping options:
-
Region: State, province, or region (e.g., California).
- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map state/region custom fields.

- Available source mapping options:
-
Country: Country name (e.g., United States).
- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map country custom fields.

- Available source mapping options:
-
Opening Hours: Business operating hours.
- Available source mapping options:
- New Custom Field: Map custom opening hours fields.

- Available source mapping options:
-
Price Range: Relative pricing indicator (e.g.,
$10-$25or$$$).- Available source mapping options:
- New Custom Field / Fixed Value / Existing Custom Field: Map price range fields.

- Available source mapping options:
-
Geo: Geographic coordinates (latitude and longitude).
- Available source mapping options:
- New Custom Field: Map geo coordinates custom fields.

- Available source mapping options:
-
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Save Local Business Schema Settings
Section titled “Save Local Business Schema Settings”
-
The Save Schema Settings button highlights blue when configuration changes are detected.
-
Click Save Schema Settings to store your configuration.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Add Location Data to Post Meta Box
Section titled “Add Location Data to Post Meta Box”
-
Edit any page in WordPress admin included in your Local Business Schema configuration (e.g., an individual Locations entry).
-
Scroll below the main content editor to locate the Local Business Schema meta box.
-
Fill in the physical address, phone, opening hours, and geo coordinate fields.
-
Once all location details are entered, save your post.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
Test Local Business Schema Validity
Section titled “Test Local Business Schema Validity”
-
Google provides official testing tools to validate structured data: Google Rich Results Test and Schema Markup Validator.
-
You can inspect your live location URL or test raw HTML code snippets.
-
Open a published location page in your web browser.
-
If logged into WordPress, click Check Schema Markup in the top admin bar.
-
This automatically opens Google’s validation tool preloaded with your page URL for immediate testing.
FREE DOWNLOAD
Start your FREE trial. No credit card required.
