A WordPress plugin that generates Review, Organization, Person, and Service JSON-LD structured data. Originally designed for thestartupfoundercoach.com.
- Copy the
wp-json-ld-litefolder (containingwp-json-ld-lite.php) towp-content/plugins/ - Activate the plugin in WordPress admin under Plugins
- Configure settings under Settings > JSON-LD Lite
This plugin is designed to work with Strong Testimonials for generating Review structured data from wpm-testimonial posts.
Without Strong Testimonials, the plugin still works but with reduced functionality:
- Organization, Person, and Service structured data are output normally
- Review data and aggregateRating are omitted (no testimonial posts to query)
- Per-testimonial meta fields (Author LinkedIn URL, sameAs, etc.) have no effect
- No PHP errors or breakage — the plugin degrades gracefully
All settings are stored as a single option (wpjsonld_settings). Four sections:
- Output Options — Context-aware output is automatic; optional checkbox to enable Organization/Person/Services on all pages
- Organization — Name, URL, description, sameAs URLs, founding date, contact info
- Person — Name, description, job title, image, sameAs URLs, alumniOf, knowsAbout
- Services — JSON textarea for an array of Service objects (invalid JSON falls back to
[]on save)
When editing a testimonial, 5 additional fields appear under "JSON-LD Enrichment" in the Client Details section:
| Field | Purpose |
|---|---|
| Author LinkedIn URL | Review author's LinkedIn profile |
| Author Description Override | Overrides auto-derived "Title of Company" (leave blank to auto-generate) |
| Author sameAs URLs | One URL per line (Crunchbase, press, etc.) |
| Company sameAs URLs | One URL per line for the author's company |
| Review Context Description | Describes the coaching context for itemReviewed.description |
Outputs a <script type="application/ld+json"> block in wp_head with context-aware content:
| Page Type | Org | Person | Reviews | Services | AggregateRating |
|---|---|---|---|---|---|
| Homepage | Yes | Yes | All | Yes | Yes |
| Testimonials archive | Yes | Yes | All | No | Yes |
| Single testimonial | Yes | No | That one | No | No |
| Other pages/posts* | Yes | Yes | No | Yes | No |
*Only when "Site-wide Identity Data" is enabled in settings. Otherwise, only the homepage and testimonial pages get JSON-LD.
Current version: 1.1.2