[WordPress] 外掛分享: WP Headless CMS Framework

首頁外掛目錄 › WP Headless CMS Framework
WordPress 外掛 WP Headless CMS Framework 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
70+
安裝啟用
★★★★★
5/5 分(2 則評價)
2173 天前
最後更新
問題解決
WordPress 5.0.0+ v1.15 上架:2019-01-30

內容簡介

該外掛提供一個框架,將 WordPress 設置為無頭 CMS。

框架選項包括:

JSON Web Token 身份驗證(可選)
將 Gutenberg 區塊數據添加到 REST 響應中(可選)
使用一次性號碼保護 REST 請求(可選)
清理 REST 響應對象(可選)
刪除非必需的 REST 端點(可選)
禁用前端(可選)

所有模塊都可以啟用/禁用或配置,以適合大多數 WordPress 作為無頭 CMS 的使用情況。

您正在開發一個單頁 React 應用程序,但仍然希望使用基於 WordPress 的主題前端。

沒問題,也許您只需要使用這些模塊:

將 Gutenberg 區塊數據添加到 REST 響應中
使用一次性號碼保護 REST 請求
清理 REST 響應對象
刪除非必需的 REST 端點

您正在開發一個真正的 WordPress 單頁應用程序或移動應用程序,只需要 WordPress 作為後端嗎?

也許使用這些模塊:

JSON Web Token 身份驗證
將 Gutenberg 區塊數據添加到 REST 響應中
使用一次性號碼保護 REST 請求
清理 REST 響應對象
刪除非必需的 REST 端點
禁用 WordPress 前端

您已經明白了。

插件文檔存放在 WordPress 管理員的“選項”頁面內,但也提供一些自定義 REST 端點的文檔:

了解有關插件端點請求的更多信息

無論您是想在 React、React Native、Angular、iOS/Android 原生項目上使用 WordPress 作為無頭 CMS,這個外掛應該可以設置 WordPress,滿足您的需要。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Headless CMS Framework」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Plugin provides a framework sets up WordPress as a headless CMS.
Framework options include:

JSON Web Token Authentication (optional)
Adds Gutenberg block data to REST responses (optional)
Protects REST requests with nonce (optional)
Cleans up REST response objects (optional)
Removes non required REST endpoints (optional)
Disables the frontend (optional)

All modules can be enabled/disabled or configured to suit most if not all WordPress as a headless CMS use cases.
Developing a single page React app but still want to use the WordPress theme based fronted.
Not a problem, maybe you just use these modules:

Adds Gutenberg block data to REST responses
Protects REST requests with nonce
Cleans up REST response objects
Removes non required REST endpoints

Developing a truly headless WordPress single page app or mobile app and just want WordPress for the backend?
Maybe use these modules:

JSON Web Token Authentication
Adds Gutenberg block data to REST responses
Protects REST requests with nonce
Cleans up REST response objects
Removes non required REST endpoints
Disable the WordPress frontend

You get the idea.
The plugin documentation is held inside the plugin ‘options’ page in the WordPress admin, although there are some docs for the custom rest endpoints:
Learn More about plugin endpoint requests
Anyway if you are looking to use WordPress as a headless CMS on a React, React Native, Angular, iOS/Android native project. This plugin should go a long way to setting WordPress up as you need it.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon