How to Add Local Business Schema in WordPress

Would you like to know how to add Local Business schema in WordPress?

If you run a service-based or brick-and-mortar business, adding Local Business schema will help you rank for local searches and drive foot traffic to your business.

In this article, we’ll show you how to add Local Business schema to your WordPress site, even if you don’t have any coding knowledge.

What is Local Business Schema Markup?

Schema markup, or structured data, is a semantic language that helps search engines better understand your content. It involves using tags that give search engines more context about your pages or posts.

Local Business schema, therefore, refers to the schema type you add to your website to help search engines better identify your business, the products or services you provide, and your location.

Why Local Business Schema is Important

The biggest advantage of adding Local Business schema to your site is it helps boost your local SEO. As a result, you get to rank for relevant local searches related to your business. Another reason is that it helps search engines generate rich snippets for your search listings.

Local Business schema helps you  generate location specific rich snippets for your search listings.

Rich snippets are search listings that offer searchers more information, resulting in higher organic clickthrough rates (CTRs).

Check out this step-by-step guide for other tips on generating rich snippets.

How to Add Local Business Schema in WordPress

Ready to add Local Business schema to your site and boost your local SEO?

Let’s get started.

Step 1. Install All In One SEO (AIOSEO)

The first step to adding Local Business schema to WordPress is installing a powerful SEO plugin like All In One SEO AIOSEO.

AIOSEO is the best plugin to help you know how to add local business schema.

AIOSEO is the best WordPress SEO plugin on the market. Over 3 million savvy website owners and marketers trust the plugin to help them dominate search engine results pages (SERPs) and drive relevant traffic to their sites. This is because the plugin has many powerful SEO features and modules to help you optimize your website for search engines and users.

One of the features many local businesses rave about is the Local SEO module.

This powerful module is designed to help you rank your website and content for local searches, resulting in more business for your brand.

For step-by-step instructions on how to install AIOSEO, check out our installation guide.

Step 2: Add Location Schema (Single Location Business)

Once you’ve installed AIOSEO, the next step to adding Local Business schema is to add your business and location information. To do that, go to the AIOSEO menu » Local SEO. This will open a page where you can input your location and business information.

One of the first things you’ll have to add is to indicate whether your business is a single or multiple-location business. 

AIOSEO enables you to add schema for single and multiple locations.

If yours is a single-location business, leave the Multiple Locations toggle set to No

You can also choose whether you want your location information to be displayed as a:

  • Gutenberg Block
  • Shortcode
  • Widget
  • PHP code

Next, add other business information like name, logo (image), business type, and address.

You can add business information like name, logo (image), business type, and address

You can also add other information like a map of your location (more on this in a moment), contact information, VAT and Tax IDs, payment information, and the areas you serve.

You can also add other information like a map of your location, contact information, VAT and Tax IDs, payment information, and more.

 Once you’ve filled in these fields, click the Save Changes button.

 Once you’ve filled in your business information, click the Save Changes button

AIOSEO will save this information to your Local Business schema.

Step 3: Add Location Schema (Multiple Location Business)

If you run a multi-location business, you can add all your locations to your Local Business schema. To do so, you must set the Multiple Locations toggle to Yes.

You add Local Business schema for multiple locations, set the Multiple Locations toggle to Yes.

Again, you can choose whether you want your location information to be displayed as a:

  • Gutenberg Block
  • Shortcode
  • Widget
  • PHP code

After clicking Yes on the Multiple Locations toggle, click on Save Changes, and AIOSEO will create a new post type called Locations which you’ll see in the WordPress menu.

When setting Local Business schema for multiple locations, AIOSEO will create a new post type called Locations which you’ll see in the WordPress menu.

This is where you’ll add your different locations by clicking on the Add New option.

Doing so will open a page in editor mode, allowing you to add another location.

Example of of a Locations page.

You can then add an AIOSEO – Local Business Info block to pull your location data.

Add an AIOSEO Local Business Info block.

After adding your additional locations, you’ll also have to configure your advanced location settings, which are broken down into 4 sections:

 This is where you can view the permalink format that AIOSEO will use for your locations.

You can customize the Locations Permalink by checking the Use custom slug check box.

If you want to customize the Locations Permalink, check the Use custom slug check box. A field will be displayed where you can enter your custom slug to replace the word location in the locations permalink.

The Locations Category Permalink field shows the permalink format All in One SEO will use for your location categories.

Customize the Locations Category Permalink by checking the Use custom category slug check box.

You can customize the Locations Category Permalink by checking the Use custom category slug check box. A field will be displayed where you can enter your own slug to replace the locations-category slug.

Next, you’ll see the Enhanced Search setting. Setting it to Off means your locations won’t appear in search results on your site.

The Enhanced search function helps you control whether all other locations appear in search or not.

However, setting the toggle to On results in your locations being included in search results on your site. Switching the Enhanced Search toggle to On also displays an additional setting, the Enhanced Search – Excerpt. You can turn the toggle to On if you want location addresses to appear in search results on your site.

4. Custom Admin Labels

Custom Admin Labels enable you to control what the menu item for Locations is called.

Custom Admin Labels enable you to control what the menu item for Locations is called.

If you want to call Locations something different in the WordPress Admin area, then enter the new single and plural labels here. For example, if we choose “Greater Florida” as our custom label and click Save Changes, that’s what we’ll have in the WordPress admin area instead of Locations.

If you want to call Locations something different in the WordPress Admin area, then enter the new single and plural labels here.

Step 4: Add Opening Hours

The next step to adding Local Business schema is to add your business hours. To do that, go to the AIOSEO menu » Local SEO » Opening Hours. This will open a window where you can add your opening hours.

The Open Hours tab enables you to output Opening Hours schema markup.

Set the Show Opening Hours toggle to Yes, and you’ll be presented with options for displaying your opening hours. Again, you can use a Gutenberg block, short code, widget, or PHP code.

Next, you’ll see the Labels section. This is where you can set the text to be displayed when you’ve set opening hours for any day to either Open 24h or Closed

You can configure the display settings of your Opening Hours.

If your business is open 24 hours, you can set the toggle to Open 24/7, and that’s it. You’ve added business hours to your Local Business schema.

However, if your business has set operating hours, the next step is to choose whether to change the time format to 24H format. To do that, set the Use 24H format toggle to on.

Next, set your operating hours by clicking on the days and hours you’re open and those you’re closed.

Set your operating hours by clicking the days and hours you're open.

Once you’re done, click Save Changes, and your operating hours will be set.

Step 5: Add Google Maps

The final step to setting your Local Business schema is adding Google Maps, so you can visually display your location. To do that, go to the AIOSEO menu » Local SEO » Maps

AIOSEO allows you to add a Google Maps API key so you can embed Google Maps on your site.

You’ll have to add a Google Maps API key in the API Key field for search engines to render your map.

For step-by-step instructions on adding a Google maps API key, check out this guide.

Once done, click Save Changes.

And that’s it!

You’ve now added Local Business schema to your WordPress site, complete with a visual map of your location.

We hope this post helped you learn how to add Local Business schema in WordPress. You may also want to check out other articles on our blog, like how to set up SEO for different languages and how to easily find and fix orphan pages in WordPress.

If you found this article helpful, then please subscribe to our YouTube Channel. You’ll find many more helpful tutorials there. You can also follow us on Twitter, LinkedIn, or Facebook to stay in the loop.

Local SEO Resources and How-Tos

author avatar
Kato Nkhoma Content Writer
Kato is one of those rare unicorns born with a pen in his hand—so the legend says. He’s authored 2 books and produced content for hundreds of brands. When he’s not creating content for AIOSEO, you’ll find him either watching tech videos on YouTube or playing with his kids. And if you can’t find him, he’s probably gone camping.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

5 comments on “How to Add Local Business Schema in WordPress

    1. Hey, William!

      Great question. The Local Business schema module is specifically designed for brick-and-mortar businesses and service-based businesses that serve specific geographic locations. It helps them rank for local search terms. However, the bulk of features and modules in AIOSEO will definitely help SEO for your online business. Check our blog for tutorials on many aspects of SEO that AIOSEO can help you with.

      Thanks again.

  1. Do you have a link to a demo of what the output is on the location page? Or is it just generated for the search engine and not necessarily meant to be viewed by visitors?

    1. Hey Shane! The Local Business Schema markup is code meant for search engines and can’t be viewed by visitors. However, the Google Maps with your location can be viewed by visitors.

  2. hi suppose, you have a brick-and-mortar business AND an online business, what are the options. More concretely: I’m giving music lessons in my home studio AND online. Would you recommend to make 2 separate sites or what are the options?