WP Manifestindependent plugin directory
manifest / seo / wp-json-ld-lite

WP JSON-LD Lite

A WordPress plugin that generates Review, Organization, Person, and Service JSON-LD structured data. Designed to add JSON-LD functionality to Strong Testimonials, but ST is not required.

by Adam Dexter · github.com/adamdexter/wp-json-ld-lite · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/adamdexter/wp-json-ld-lite/archive/refs/heads/main.zip

A WordPress plugin that generates Review, Organization, Person, and Service JSON-LD structured data. Originally designed for thestartupfoundercoach.com.

Installation

  1. Copy the wp-json-ld-lite folder (containing wp-json-ld-lite.php) to wp-content/plugins/
  2. Activate the plugin in WordPress admin under Plugins
  3. 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

Settings (Settings > JSON-LD Lite)

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, plus a "Testimonials Archive Page" selector (since the testimonial post type has no built-in archive, pick the regular page — e.g. /testimonials/ — that lists them; it then gets the full Reviews + AggregateRating output)
  • 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)

Per-Testimonial Fields

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

JSON-LD Output

Outputs a `