前言介紹
- 這款 WordPress 外掛「Headless CMS」是 2020-06-30 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2023-04-07,距離現在已有 757 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
- 有 5 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
外掛標籤
GraphQL | decoupled | headless cms |
內容簡介
這是一個 WordPress 外掛,透過 REST API 向任何前端環境添加以下功能,使 WordPress 成為無界面 CMS。
此外掛提供多種功能,您可以使用與您的前端應用程式相關的功能,不必全部使用。
功能
自訂 REST API 端點。
自訂器中的社交連結。
分類的圖片上傳。
自訂標題和頁尾選單。
自訂小工具。
使用 wp-graphql 外掛時自訂標題、頁尾和方案 GraphQL 欄位。
功能詳細信息
在自訂器中添加社交連結選項
註冊標題的兩個自訂選單(選單位置 = hcms-menu-header)和頁尾(選單位置 = hcms-menu-footer)
註冊以下側邊欄
HCMS Footer #1,其側邊欄 ID 為 "hcms-sidebar-1"
HCMS Footer #2,其側邊欄 ID 為 "hcms-sidebar-2"
可用的自訂 REST API 端點
獲取單個文章(GET 請求):http://example.com/wp-json/rae/v1/post?post_id=1
按頁面號獲取文章(GET 請求):http://example.com/wp-json/rae/v1/posts?page_no=1
獲取標題和頁尾數據(GET 請求)
* 獲取標題數據(站點標題、站點描述、站點徽標 URL、選單項目)和頁尾數據(頁尾選單項目、社交圖標)
* `http://example.com/wp-json/rae/v1/header-footer?header_location_id=hcms-menu-header&footer_location_id=hcms-menu-footer“
按頁面號獲取文章(GET 請求)
* 按分類獲取文章
* http://example.com/wp-json/rae/v1/posts-by-tax?post_type=post&taxonomy=category&slug=xyz
更多功能
在自訂器中註冊社交圖標部分
社交圖標 URL,包括 Facebook、Twitter、Instagram 和 YouTube
分類的圖片上傳功能
為分類提供圖片上傳功能。
外掛設定頁面
設定自訂頁面的資料,例如英雄部分、搜索部分、精選文章部分和最新文章標題。
安裝和使用
本節介紹安裝外掛並啟用它的方法。
上傳外掛程式碼至 /wp-content/plugins/plugin-name 目錄,或通過 WordPress 插件畫面直接安裝它。
在 WordPress 中啟用外掛。
您可以添加自訂社交圖標。
您可以設置自訂標題和頁尾選單。
您可以向分類添加圖片。
此外掛可用於的前端應用程式示範
請查看示例 React 前端應用程式的演示,該外掛可以用於其中。
[2020-07-02] 演示 1。
[2020-09-29] 演示 2。
= 目前無法使用。
步驟一:檢查外掛是否啟用。
步驟二:禁用所有其他外掛,重新啟用頭部 CMS。
原文外掛簡介
A WordPress plugin that adds following features to use WordPress as a headless CMS with any front-end environment using REST API
This plugin provides multiple features and you can use the one’s that is relevant to your front-end application. You don’t necessarily need to use all.
Features
Custom REST API Endpoints.
Social links in customizer.
Image uploads for categories.
Custom header and footer menus.
Custom Widgets.
Custom Header and Footer GraphQL fields when using wp-graphql plugin
Feature Details
Features
Adds option to add social links in customizer
Registers two custom menus for header ( menu location = hcms-menu-header ) and for footer ( menu location = hcms-menu-footer )
Registers the following sidebars
HCMS Footer #1 with sidebar id ‘hcms-sidebar-1’
HCMS Footer #2 with sidebar id ‘hcms-sidebar-2’
Available Custom REST API endpoints
Get single post ( GET request ): http://example.com/wp-json/rae/v1/post?post_id=1
Get posts by page no: ( GET Request ) : http://example.com/wp-json/rae/v1/posts?page_no=1
Get header and footer date: ( GET Request )
* Get the header data ( site title, site description , site logo URL, menu items ) and footer data ( footer menu items, social icons )
* `http://example.com/wp-json/rae/v1/header-footer?header_location_id=hcms-menu-header&footer_location_id=hcms-menu-footer“
Get posts by page no: ( GET Request )
* Get the posts by taxonomy
* http://example.com/wp-json/rae/v1/posts-by-tax?post_type=post&taxonomy=category&slug=xyz
More Features
Registers the sections for socials icons in the customizer
Social icons urls for ‘facebook’, ‘twitter’, ‘instagram’, ‘youtube’
Image upload features for categories
Provides Image upload features for categories.
Plugin Settings Page
Settings for getting data for a custom page like Hero section, Search section, Featured post section, latest posts heading.
Installation and Use
This section describes how to install the plugin and get it working.
Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the ‘Plugins’ screen in WordPress
Your can add social icons from customizer
You can set up custom header and footer menus.
You can add image to categories.
Demo of the Frontend applications that can be used with this plugin
Please check the demo of an example React front-end application, where this plugin can be used.
[2020-07-02] Demo.
Using This plugin with WordPress and GraphQl
= Its not working.
Step 1. Check if your Plugin is activated.
Step 2. Deactivate all plugins and reactivate headless-cms.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Headless CMS」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Headless CMS Framework 》該外掛提供一個框架,將 WordPress 設置為無頭 CMS。, 框架選項包括:, , JSON Web Token 身份驗證(可選), 將 Gutenberg 區塊數據添加到 REST 響應中(可選...。
Easey AI 》**WordPress 外掛總結:**, 這是一個下一代內容管理系統,利用無體系結構的架構賦予 WordPress 使用者無可比擬的彈性和對網站內容的控制力。, , **問題與答案...。
Flotiq Sync 》這個外掛的目的是讓您將 WordPress 的資料填入您的 Flotiq 帳戶中。藉此,您就可以利用 WordPress 的功能,深入 Flotiq 的世界中。我們支援以下類型的內容的...。