Home/ Blog/ Technical SEO/ How to Implement JSON-LD Schema Markup on WordPress: Step-by-Step for Local Businesses

How to Implement JSON-LD Schema Markup on WordPress: Step-by-Step for Local Businesses

Schema markup tells Google exactly what your business does and where it is located. Here is how to implement it on WordPress the right way.

Prospelle Logo
Prospelle Team
February 10, 2026 11 min read

What is JSON-LD Schema Markup and Why Your Local Business Needs It

JSON-LD (JavaScript Object Notation for Linked Data) is Google’s preferred format for structured data markup. It tells search engines exactly what your content means, helping them understand your business details, services, and location information.

Unlike other schema formats that clutter your HTML, JSON-LD sits cleanly in your page’s <head> section or can be injected via Google Tag Manager. Google’s structured data documentation specifically recommends JSON-LD because it’s easier to maintain and doesn’t interfere with your page design.

For local businesses, JSON-LD schema markup can trigger rich results in search, display your business hours directly in search results, and improve your local SEO visibility. We’ve seen clients achieve featured snippets and enhanced search appearances within weeks of proper implementation.

Essential Schema Types Every Local Business Should Use

Local businesses need specific schema types to maximize their search visibility. Here are the six most important ones:

  • LocalBusiness: Your core business information including name, address, phone, hours, and services
  • Organization: Company-level details like your logo, social profiles, and founding information
  • Service: Individual service offerings with descriptions and service areas
  • FAQPage: Frequently asked questions that can trigger FAQ rich results
  • Review: Customer reviews and aggregate rating data
  • BreadcrumbList: Navigation structure for better crawling and user experience

Each schema type serves a specific purpose in helping search engines understand different aspects of your business. We recommend implementing LocalBusiness schema first, then adding others based on your content and goals.

Creating LocalBusiness Schema Manually: Complete Code Example

Here’s a complete LocalBusiness schema example for a dental practice. This code goes in your page’s <head> section:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "@id": "https://example-dental.com/#organization",
  "name": "Smile Dental Practice",
  "description": "Full-service dental practice offering general dentistry, cosmetic procedures, and emergency care in Downtown Chicago.",
  "url": "https://example-dental.com",
  "logo": "https://example-dental.com/logo.jpg",
  "image": "https://example-dental.com/office-photo.jpg",
  "telephone": "+1-312-555-0123",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street, Suite 200",
    "addressLocality": "Chicago",
    "addressRegion": "IL",
    "postalCode": "60601",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 41.8781,
    "longitude": -87.6298
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday"],
      "opens": "08:00",
      "closes": "17:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Friday",
      "opens": "08:00",
      "closes": "15:00"
    }
  ],
  "priceRange": "$$",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "127"
  }
}
</script>

Required vs Recommended Properties

Required properties for LocalBusiness schema include:

  • @type
  • name
  • address (with complete PostalAddress)
  • telephone

Recommended properties that significantly improve your results:

  • url and @id for unique identification
  • description for context
  • openingHoursSpecification for business hours display
  • geo coordinates for precise location
  • aggregateRating for star ratings in search
  • priceRange for cost expectations

WordPress Plugin Options vs Manual Implementation

Popular WordPress Schema Plugins

Rank Math offers built-in schema options in their free version. You can configure LocalBusiness schema through their setup wizard and customize properties in each post’s settings panel.

Yoast SEO provides basic schema markup automatically but requires Yoast Local SEO addon ($69/year) for comprehensive LocalBusiness schema features.

Schema Pro ($67/year) specializes entirely in schema markup with pre-built templates for local businesses, services, and FAQs.

Manual Implementation Benefits

Manual implementation gives you complete control over your schema markup. You avoid plugin conflicts, reduce page load time, and can implement complex schema relationships that plugins might not support.

We typically recommend manual implementation for businesses serious about local SEO. It requires more technical knowledge but delivers superior results.

Adding Schema Through Google Tag Manager

Google Tag Manager lets you add JSON-LD schema without touching your WordPress code. Create a new Custom HTML tag with your schema markup and set it to fire on page load.

This method is perfect for businesses using enterprise WordPress setups or when you can’t access theme files directly. You can also use GTM’s dataLayer to dynamically populate schema properties based on page content.

Set up triggers for specific page types (homepage for Organization schema, service pages for Service schema) to avoid unnecessary schema on irrelevant pages.

Testing Your Schema Implementation

Always test your schema markup before going live. Use Google’s Rich Results Test to check for errors and preview how your content might appear in search results.

The Rich Results Test shows you:

  • Valid schema properties
  • Missing required fields
  • Syntax errors in your JSON
  • Rich result eligibility

Google Search Console also provides schema monitoring through the Enhancements section. Check this regularly for new errors or warnings that might affect your search appearance.

Service Schema for Individual Service Pages

Each service page should include Service schema markup. Here’s an example for a roofing company’s gutter installation service:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Gutter Installation",
  "description": "Professional gutter installation services for residential and commercial properties in Chicago metro area.",
  "provider": {
    "@type": "LocalBusiness",
    "name": "Chicago Roofing Pros"
  },
  "areaServed": {
    "@type": "City",
    "name": "Chicago"
  },
  "serviceType": "Gutter Installation",
  "offers": {
    "@type": "Offer",
    "availability": "InStock"
  }
}
</script>

Service schema helps Google understand what you offer and where you serve customers. Include specific service areas and connect services back to your main LocalBusiness entity.

FAQ Schema Implementation and Rich Results

FAQ schema can trigger rich results that make your content stand out in search. However, Google only shows FAQ rich results for informational queries, not commercial ones.

Here’s proper FAQ schema markup:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "How often should I schedule dental cleanings?",
    "acceptedAnswer": {
      "@type": "Answer",
      "text": "Most patients should schedule professional dental cleanings every six months. However, patients with gum disease or other risk factors may need more frequent visits."
    }
  }]
}
</script>

FAQ rich results work best for educational content. Avoid overly promotional FAQ answers, as Google may not display them as rich results.

Multi-Location Schema Strategy

Businesses with multiple locations need separate LocalBusiness schema entries for each location. Never try to list multiple addresses in one LocalBusiness schema.

For location-specific pages, implement individual LocalBusiness schema with unique:

  • @id values
  • Address information
  • Phone numbers
  • Business hours (if they differ)
  • Staff or manager information

Your main website should use Organization schema, while location pages use LocalBusiness schema that references the parent organization.

Common Schema Mistakes That Hurt Your Rankings

Invalid JSON syntax is the most frequent error we see. Missing commas, extra brackets, or unclosed quotes will break your entire schema markup.

Missing required fields prevent your schema from validating. Always include name, address, and telephone for LocalBusiness schema.

Duplicate schema from multiple sources confuses search engines. If you use a plugin, don’t also add manual schema for the same content.

Conflicting plugin schemas occur when multiple SEO plugins generate schema markup. We’ve seen sites with three different LocalBusiness schemas on one page.

Incorrect business hours format should use 24-hour time (08:00, not 8:00 AM). Wrong formats prevent business hours from appearing in search results.

Mismatched NAP data between your schema and actual page content signals inconsistency to Google. Keep your name, address, and phone number identical everywhere.

Your Next Steps

Ready to implement JSON-LD schema markup for your local business? Our schema and structured data services can help you avoid common mistakes and achieve faster results.

  1. Audit your current schema implementation using Google’s Rich Results Test
  2. Choose between manual implementation or plugin-based approach
  3. Start with LocalBusiness schema on your homepage
  4. Add Service schema to your main service pages
  5. Implement FAQ schema on relevant content pages
  6. Set up Google Search Console monitoring for schema errors
  7. Test all markup before publishing
  8. Monitor search appearance and rich results over 4-6 weeks
Related Reading

Need help implementing a comprehensive local SEO strategy that includes proper schema markup? Our strategy audit service identifies exactly which schema types will drive the most traffic for your specific business and location.

For additional schema resources and examples, visit our complete schema structured data guide.

Prospelle Logo

Prospelle Team

Strategic Marketing Consultancy

We help growth-focused businesses get clarity, build marketing plans that work, and lead their teams to results. We specialize in local SEO strategy across 10 industries.

Need Schema Markup Implemented?

We implement comprehensive schema markup for local businesses — LocalBusiness, Service, FAQ, Review, and more. Every page gets the right structured data.

Book a Strategy Call → Explore Our Services