跳到内容

Static JSON Export with CORS

v1.1.1

aritrhk · 2026年7月28日 上架

Generate secure, fast CORS-enabled static JSON feeds of your posts and pages for external applications or headless setups.

正在使用
10 以下
评分
暂无
累计下载
406
最近更新
2026年8月2日
需要 WordPress 5.6+已测试到 7.0.9PHP 7.4+

贡献者

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

  • Headless CMS Support: Export a lightweight post index, chunked paginated page files, and detailed individual post files under a subfolder.
  • REST API Endpoints: Serve generated static JSON feeds via GET /wp-json/sjec/v1/feed?name=YOUR_FEED_NAME and individual posts via GET /wp-json/sjec/v1/post?feed=FEED&slug=SLUG 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 (index, page 1, and individual posts).
  • 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.
* Sized Featured Images: Export structured arrays containing multiple sizes (thumbnail, medium, large, full) for featured images (FREE version supports thumbnail URL only).
* 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums