Title: Static JSON Export with CORS
Author: aritrhk
Published: <strong>July 28, 2026</strong>
Last modified: July 28, 2026

---

Search plugins

![](https://ps.w.org/static-json-export-cors/assets/banner-772x250.jpg?rev=3625243)

![](https://ps.w.org/static-json-export-cors/assets/icon-256x256.jpg?rev=3625243)

# Static JSON Export with CORS

 By [aritrhk](https://profiles.wordpress.org/aritrhk/)

[Download](https://downloads.wordpress.org/plugin/static-json-export-cors.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/static-json-export-cors/#description)
 * [Reviews](https://wordpress.org/plugins/static-json-export-cors/#reviews)
 *  [Installation](https://wordpress.org/plugins/static-json-export-cors/#installation)
 * [Development](https://wordpress.org/plugins/static-json-export-cors/#developers)

 [Support](https://wordpress.org/support/plugin/static-json-export-cors/)

## Description

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.

## Installation

 1. Upload the `static-json-export-cors` folder to the `/wp-content/plugins/` directory,
    or upload the ZIP file directly via the WordPress admin area.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to **JSON Export CORS** in the WordPress admin menu to configure your 
    CORS origins and feed structures.

## FAQ

### How are feeds served via REST API?

The plugin registers a custom WordPress REST API endpoint (`GET /wp-json/sjec/v1/
feed?name=YOUR_FEED_NAME`) that serves the generated static JSON content with configured
CORS headers attached.

### Can I use it on local environments?

Yes. You can add local URLs (like `http://localhost:3000`) into the CORS Whitelist
setting to debug integrations.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Static JSON Export with CORS” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ aritrhk ](https://profiles.wordpress.org/aritrhk/)

[Translate “Static JSON Export with CORS” into your language.](https://translate.wordpress.org/projects/wp-plugins/static-json-export-cors)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/static-json-export-cors/),
check out the [SVN repository](https://plugins.svn.wordpress.org/static-json-export-cors/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/static-json-export-cors/)
by [RSS](https://plugins.trac.wordpress.org/log/static-json-export-cors/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **6 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [api](https://wordpress.org/plugins/tags/api/)[cors](https://wordpress.org/plugins/tags/cors/)
   [feed](https://wordpress.org/plugins/tags/feed/)[integration](https://wordpress.org/plugins/tags/integration/)
   [JSON](https://wordpress.org/plugins/tags/json/)
 *  [Advanced View](https://wordpress.org/plugins/static-json-export-cors/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/static-json-export-cors/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/static-json-export-cors/reviews/)

## Contributors

 *   [ aritrhk ](https://profiles.wordpress.org/aritrhk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/static-json-export-cors/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://aritrhk.com/sjec)