GEOforge Schema

GEOforge Schema

Details
View on WordPress

GEOforge generates JSON-LD schema markup and meta descriptions for the articles it publishes. WordPress strips inline <script> tags from post bodies (KSES sanitization) and hides underscore-prefixed meta from the REST API by default, so neither can be set by an external publishing tool without a companion plugin.

This plugin solves that by:

  1. Registering a _geoforge_jsonld post-meta key, exposed via the REST API, that GEOforge writes to when publishing or updating an article.
  2. Printing the stored JSON-LD inside a proper <script type="application/ld+json"> tag in the page <head> for single posts and pages.
  3. Registering the SEO post-meta keys used by Yoast SEO (_yoast_wpseo_metadesc) and Rank Math (rank_math_description) for REST API write access, so GEOforge can sync meta descriptions on publish. Each registration uses an edit_post auth check and sanitize_text_field-based sanitization capped at 320 characters. Registration is idempotent — if the SEO plugin already exposes the key for REST, our registration is a no-op.

No configuration required. Install, activate, and any GEOforge-published article will get its schema markup rendered correctly and its meta description handed to whichever SEO plugin is active.

Details

Plugin code:
geoforge-schema
Plugin version:
1.2.0
Author:
Outdated:
No
WP version:
5.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9.4
Total installations:
0
Last updated:
2026-05-20
Rating:
Times rated:
0
geo
json-ld
schema
seo