Add LocalBusiness JSON-LD schema type #65

Closed
opened 2026-06-23 13:31:01 +00:00 by jmiller · 1 comment
Owner

Summary

Add LocalBusiness JSON-LD structured data for business sites, enabling Google Knowledge Panel and Maps integration.

Why

  • Rank Math (free), Yoast Premium, SEOPress, AIOSEO all support this
  • Critical for any business with a physical location
  • Drives Google Maps listings and Knowledge Panel display

Implementation

  • Add LocalBusiness fields in plugin parameters (global config): business name, address, phone, email, opening hours, geo coordinates, logo, price range
  • Build schema in JsonLdBuilder:
{
  "@type": "LocalBusiness",
  "name": "Business Name",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "City",
    "addressRegion": "TN",
    "postalCode": "37000"
  },
  "telephone": "+1-555-555-5555",
  "openingHours": "Mo-Fr 09:00-17:00",
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 36.16,
    "longitude": -86.78
  }
}
  • Output on homepage or all pages (configurable)
## Summary Add `LocalBusiness` JSON-LD structured data for business sites, enabling Google Knowledge Panel and Maps integration. ## Why - Rank Math (free), Yoast Premium, SEOPress, AIOSEO all support this - Critical for any business with a physical location - Drives Google Maps listings and Knowledge Panel display ## Implementation - Add LocalBusiness fields in plugin parameters (global config): business name, address, phone, email, opening hours, geo coordinates, logo, price range - Build schema in `JsonLdBuilder`: ```json { "@type": "LocalBusiness", "name": "Business Name", "address": { "@type": "PostalAddress", "streetAddress": "123 Main St", "addressLocality": "City", "addressRegion": "TN", "postalCode": "37000" }, "telephone": "+1-555-555-5555", "openingHours": "Mo-Fr 09:00-17:00", "geo": { "@type": "GeoCoordinates", "latitude": 36.16, "longitude": -86.78 } } ``` - Output on homepage or all pages (configurable)
jmiller added this to the v2.0 — Schema & UX Expansion milestone 2026-06-23 13:31:01 +00:00
jmiller added the enhancement label 2026-06-23 13:31:01 +00:00
Author
Owner

Branch created: feature/65-add-localbusiness-json-ld-schema-type

git fetch origin
git checkout feature/65-add-localbusiness-json-ld-schema-type
Branch created: [`feature/65-add-localbusiness-json-ld-schema-type`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteOpenGraph/src/branch/feature/65-add-localbusiness-json-ld-schema-type) ```bash git fetch origin git checkout feature/65-add-localbusiness-json-ld-schema-type ```
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteOpenGraph#65