Static JSON Export with CORS

Static JSON Export with CORS

Details
View on WordPress

Static JSON Export with CORS is a lightweight, secure WordPress plugin designed to export your published posts, pages, or custom post types into highly-optimized static JSON files.

Feeds are generated automatically when content changes and served cleanly through a WordPress REST API endpoint (GET /wp-json/sjec/v1/feed?name=YOUR_FEED_NAME) with a customizable CORS origins whitelist.

Key Features

  • REST API Endpoint: Access generated static JSON feeds via GET /wp-json/sjec/v1/feed?name=YOUR_FEED_NAME with full CORS support.
  • Granular CORS Management: Enter multiple allowed domains (Origins) in a whitelist via the admin panel.
  • Single JSON Feed: Create a highly optimized JSON feed for your primary post type.
  • Pretty-Printed JSON: Clean and readable JSON outputs for easy debugging.
  • Custom Field Mapping: Include taxonomy terms or custom meta fields directly in the output.
  • Flexible Querying: Select targeted post types, filter by a single taxonomy, adjust output limits, and sort chronologically.
  • Value-Added Dashboard: Monitor folder write privileges, payload sizes, item counts, and preview raw JSON output.
  • GPLv2 & WordPress.org Guidelines Compliant: Fully sanitized inputs, nonce validations, and strict path traversal protection.

PRO Features Available

Unlock even more capabilities:
* Multiple JSON Feeds: Manage separate JSON endpoints for multiple post types.
* Payload Minification: Shrink JSON payload sizes for lightning fast API responses.
* Advanced Taxonomy Filtering: Use AND/OR logic to combine multiple taxonomy constraints.
* Standalone High-Speed API Endpoint: Serve static JSON directly via api.php bypassing the WordPress core bootstrap entirely for sub-millisecond response times under heavy traffic.
* Webhook Integration: Automatically notify external services or trigger rebuilds whenever post data is updated.

Details

Plugin code:
static-json-export-cors
Plugin version:
1.0.0
Author:
Outdated:
No
WP version:
5.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0.2
Total installations:
0
Last updated:
2026-07-28
Rating:
Times rated:
0
api
cors
feed
integration
json