LocalBusiness Schema Markup: How to Add It to a WordPress Site - SEO Syrup

LocalBusiness Schema Markup: How to Add It to a WordPress Site

Quick answer LocalBusiness schema is JSON-LD code that tells search engines your business name, address, phone, opening hours, services and area. On WordPress you can add it with an SEO or schema plugin, or paste JSON-LD into your header, then test it with Google’s Rich Results Test and keep it identical to your Google Business Profile. Last updated: November 2026 Your website may say you are a plumber in Sheffield open from 8 to 6, but a search engine has to infer that from text. Schema markup removes the guesswork by stating it in a structured format machines can read. For local businesses, LocalBusiness schema is one of the most useful pieces of structured data, because it reinforces your name, address and phone details, supports map visibility and gives AI assistants clean facts to quote. This guide explains what to include, how to choose the right type, how to add it to WordPress with and without plugins, and how to test and maintain it. In this guide What LocalBusiness schema does Choose the most specific type Properties to include Self-serving reviews and other rules Method 1: Use an SEO plugin Method 2: Add JSON-LD manually Schema for multiple locations How to test your markup A cautious example Common mistakes How it supports local SEO and AI search What to do this week FAQs What LocalBusiness schema does Schema.org defines a vocabulary for describing things on the web. LocalBusiness is a type for physical businesses and service-area businesses, with more specific subtypes such as Dentist, Electrician, Plumber, AccountingService, LegalService, Restaurant and RealEstateAgent. Marked-up details help search engines connect your website to your Google Business Profile, and to your entity more broadly. It does not guarantee rankings or rich results, but it removes ambiguity and supports consistent information across search and AI. Choose the most specific type Use the most specific subtype available that honestly describes you. A dental practice should use Dentist, a firm of solicitors should use LegalService, and a general plumber should use Plumber. If none fits, use LocalBusiness. Check the full list at schema.org. Using a precise type helps machines classify your business correctly and aligns with the category you chose in Google Business Profile. Properties to include name, url, logo and image. telephone and email. address as a PostalAddress with street, locality, postcode and country. geo coordinates and a link to your Google Maps listing via hasMap. openingHoursSpecification with days and times, including holiday variations where possible. areaServed for the towns or regions you cover. priceRange where appropriate, and sameAs links to your official profiles. aggregateRating only if it complies with Google guidelines on review markup. Self-serving reviews and other rules Google does not allow self-serving review markup for LocalBusiness and Organization on your own site in many cases, meaning you generally should not mark up ratings of your own business that you collect yourself. Avoid marking up content that is not visible on the page, and do not include misleading details. Make sure every value in your schema matches what appears on the page and in your Google Business Profile. Mismatches reduce trust and can trigger structured data warnings. Method 1: Use an SEO plugin Plugins such as Yoast SEO and Rank Math can output Organization or LocalBusiness schema from settings. Rank Math includes a local SEO module with fields for address, opening hours and coordinates. Yoast offers a local add-on. This is the safest route for most small businesses. Fill in every field carefully, set the correct business type, upload a logo, and add your official profiles. Check the output on the live page, not just in the settings. Method 2: Add JSON-LD manually You can paste a JSON-LD script into your site header using a plugin such as WPCode, or through your theme. A typical script includes the context, type, name, url, telephone, address, openingHoursSpecification and sameAs list. Keep it as a single, valid block on the homepage and contact page. If you use Elementor, an HTML widget on the page can hold the script, though a site-wide header injection is neater. Whichever method you choose, avoid duplicating schema from both a plugin and manual code, which can create conflicting data. Schema for multiple locations For multi-location businesses, create a separate LocalBusiness block on each location page with its own address, phone, hours and map link, and use a parent Organization on the homepage. Each location should match its own Google Business Profile. Our local SEO service sets up location schema and profiles together, so details stay consistent as you add branches. How to test your markup Use Google’s Rich Results Test and the Schema Markup Validator on your homepage and contact page. Check Search Console’s Enhancements reports for errors. View the page source and confirm only one set of LocalBusiness data appears. Compare each value with your Google Business Profile and footer. Re-test after theme, plugin or content changes. A cautious example A boiler servicing company in Sheffield would use the Plumber type, with its trading name, phone number, a PostalAddress in Sheffield, opening hours Monday to Friday 8am to 6pm and Saturday 9am to 1pm, areaServed set to Sheffield, Rotherham and Barnsley, and sameAs links to its Facebook, LinkedIn and Google Business Profile. Every one of those details appears visibly on the page too. That is the principle: the schema should describe, not invent. If you cannot see a fact on the page or in your listings, it does not belong in the markup. Common mistakes Using the generic LocalBusiness type when a specific one exists. Opening hours that differ from your profile. Outdated phone numbers or addresses after a move. Duplicate schema from multiple plugins. Marking up reviews in ways that break Google guidelines. Never re-checking after redesigns. How it supports local SEO and AI search Schema is a quiet but useful part of the local stack. It reinforces your NAP details, helps search engines connect your site to your profile and gives AI assistants clear facts to draw on.

LocalBusiness Schema Markup: How to Add It to a WordPress Site Read More »