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

WordPress 外掛 WP Headless CMS Framework 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WP Headless CMS Framework」是 2019-01-30 上架。
  • 目前有 70 個安裝啟用數。
  • 上一次更新是 2020-04-06,距離現在已有 1854 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.0.0 以上版本才可以安裝。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

benmoody |

外掛標籤

cms | headless | rest-api | headless cms | WordPress as a headless cms |

內容簡介

該外掛提供一個框架,將 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,滿足您的需要。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Headless CMS Framework」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.5 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon