Skip to content

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.

Install & Activate WordPress Schema Plugin For Divi, Gutenberg & Shortcodes

  1. Visit the WordPress Schema Plugin Page.

  2. Sign up for a 7-day FREE trial.

  3. You will receive an email with download and activation instructions.

  4. Download, install, and activate the plugin on your WordPress site.

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Local Business Settings

  1. 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:
      • Custom Marker Icon:
        • Upload a custom map pin image to replace Google’s default red map marker.
    • 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).

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Activate & Setup Local Business Schema Profile

Section titled “Activate & Setup Local Business Schema Profile”

Activate & Setup Local Business Schema

  1. Go to WordPress Admin > SEO Schema.

  2. Click the Local Business tab in the sidebar navigation.

  3. Click Add Local Business.

  4. 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”

Include And/Or Exclude Posts For Local Business Schema

  1. 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.

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Setup Local Business Schema Fields

  1. 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).

      • Local Business Type - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Name - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Image - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Telephone - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Fax Number - Local Business Schema - WordPress Schema Plugin
    • Email: Primary business email address.

      • Available source mapping options:
        • None / Fixed Value / Custom Fields: Omit field, enter static email, or map custom email field.
      • Email - Local Business Schema - WordPress Schema Plugin
    • 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.
      • URL - Local Business Schema - WordPress Schema Plugin
    • VAT ID: Value-Added Tax identification number.

      • Available source mapping options:
        • None / Fixed Value / Custom Fields: Omit field or map custom VAT ID field.
      • VAT ID - Local Business Schema - WordPress Schema Plugin
    • 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.
      • TAX ID - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Street Address - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Locality - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Postal Code - Local Business Schema - WordPress Schema Plugin
    • 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.
      • Region - Local Business Schema - WordPress Schema Plugin
    • Country: Country name (e.g., United States).

      • Available source mapping options:
        • New Custom Field / Fixed Value / Existing Custom Field: Map country custom fields.
      • Country - Local Business Schema - WordPress Schema Plugin
    • Opening Hours: Business operating hours.

      • Available source mapping options:
        • New Custom Field: Map custom opening hours fields.
      • Opening Hours - Local Business Schema - WordPress Schema Plugin
    • Price Range: Relative pricing indicator (e.g., $10-$25 or $$$).

      • Available source mapping options:
        • New Custom Field / Fixed Value / Existing Custom Field: Map price range fields.
      • Price Range - Local Business Schema - WordPress Schema Plugin
    • Geo: Geographic coordinates (latitude and longitude).

      • Available source mapping options:
        • New Custom Field: Map geo coordinates custom fields.
      • Geographic Co-ordinates - Local Business Schema - WordPress Schema Plugin

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Save Local Business Schema Settings

  1. The Save Schema Settings button highlights blue when configuration changes are detected.

  2. Click Save Schema Settings to store your configuration.

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Add Local Business Schema’s Instructions Data To WordPress Posts

  1. Edit any page in WordPress admin included in your Local Business Schema configuration (e.g., an individual Locations entry).

  2. Scroll below the main content editor to locate the Local Business Schema meta box.

  3. Fill in the physical address, phone, opening hours, and geo coordinate fields.

  4. Once all location details are entered, save your post.

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Test Local Business Schema Validity

  1. Google provides official testing tools to validate structured data: Google Rich Results Test and Schema Markup Validator.

  2. You can inspect your live location URL or test raw HTML code snippets.

  3. Open a published location page in your web browser.

  4. If logged into WordPress, click Check Schema Markup in the top admin bar.

  5. 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.