[WordPress] 外掛分享: HWConnector Lite – Headless REST API & CORS

首頁外掛目錄 › HWConnector Lite – Headless REST API & CORS
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.1 上架:2026-05-26

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「HWConnector Lite – Headless REST API & CORS」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Every headless WordPress project requires the same setup: expose ACF fields to the REST API, configure CORS headers for your JavaScript frontend, and register a contact form endpoint.
HWConnector Lite moves all of that out of functions.php and into a clean, tabbed admin settings page.
Features
REST API Tab
* Expose ACF custom fields for post, page, and one Custom Post Type to the WordPress REST API
* No PHP required — configure through the admin dashboard
CORS Tab
* Add one allowed frontend origin (Next.js, Astro, Nuxt, etc.) through a simple field
* Correct headers sent for GET, POST, and OPTIONS (preflight) requests
* Origin-matched headers — only the requesting origin is echoed back
Endpoints Tab
* POST /wp-json/site/v1/contact — accepts name, email, message and forwards to your admin email
* Configurable namespace and send-to email
Security Tab
* Disable XML-RPC with one toggle (default: ON)
* Hide WordPress version from page source and RSS (default: ON)
Pro Version
HWConnector Pro unlocks:

Unlimited CORS origins
Unlimited Custom Post Types in the REST API
Newsletter endpoint — POST /wp-json/site/v1/newsletter with FluentCRM integration

Who it’s for
Developers building headless WordPress sites with Next.js, Astro, Nuxt, SvelteKit, or any other JavaScript frontend who want a clean, reusable setup instead of copying functions.php boilerplate on every project.
Requirements

WordPress 5.8+
PHP 7.4+
ACF (Advanced Custom Fields) — optional, required only for the REST API tab

延伸相關外掛

文章
Filter
Apply Filters
Mastodon