前言介紹
- 這款 WordPress 外掛「TGEI Semi Headless」是 2024-10-11 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2024-10-12,距離現在已有 204 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
allow | block | headless | semi headless |
內容簡介
總結:TGEI Semi Headless 可以完全或部分地停用 WordPress 的前端,適用於無前端的 WordPress 網站。透過此外掛,可以善用 WordPress 的內建功能或安裝外掛功能,提供半 Headless WordPress 設定。
1. 什麼是半 Headless WordPress 網站?
- 在一般 Headless WordPress 設定中,整個前端都會被禁用,導向其他頁面,網站所有功能都會在 Headless 網站架構下重新實作。
- 半 Headless WordPress 設定中,大部分前端將被停用,只有特定文章或頁面可存取,以重複使用 WordPress 內建功能或外掛功能。
2. 半 Headless 的應用舉例:
- 網店:將 e-commerce 外掛安裝在 WordPress 上轉為網店,但想要以特定方式顯示商品,不符合 WordPress 的模板引擎,使用自己的模板引擎,透過 TGEI Semi Headless 僅啟用購物車和結帳頁。
- 部落格:有一個旅行部落格,經常發表旅遊文章,使用圖片庫外掛管理各種旅行圖片集。為加快網站速度,決定採用 Headless 方式,但不想使用其他圖片庫外掛,使用 TGEI Semi Headless 禁用所有前端頁面,只保留圖片庫頁面。
3. 可控制的設定:
- 可被開啟或封鎖的範圍:
- 單獨文章和頁面
- 適用於自訂文章類型
- 類別和標籤的存檔頁面
- 搜尋結果頁面
- 首頁
4. 設定封鎖狀態的多種方式:
- 透過古騰堡文章/頁面編輯器
- 快速編輯器
- 批量操作選單
5. 404 重新導向:
- 將 WordPress 404 錯誤重新導向至 Headless 網站的 404 錯誤頁面,以維護一致性。
原文外掛簡介
TGEI Semi Headless can fully or partially disable the frontend of WordPress for headless WordPress sites.
What a Semi Headless WordPress Site?
In a typical headless WordPress setup, the entire frontend is disabled. All requests to the frontend are automatically redirected to another page. All features of the website are re-implemented in the framework of the headless website.
Instead of re-implementing all features of a headless website, a semi headless WordPress setup disables most of the frontend leaving only designated posts and/or pages accessible. These posts/pages enable the reuse of built-in WordPress features or features of installed plugins.
Semi Headless Examples
Online Store
You install an e-commerce plugin to turn your wordpress into an online store. However, you may want to display your products in such a way that it does not fit well with the WordPress templating engine, so you decide to go headless with your own templating engine. But you don’t want to reimplement every feature of the store such as cart management and checkout, so you use TGEI Semi Headless to disable all frontend pages except the cart and checkout pages.
Blog
You have a travel blog where you make frequent posts about your trips. You use an image gallery plugin to manage the various image galleries of your trips. You decide to go headless to speed up your website. However, you don’t want to use another image gallery plugin, so you use TGEI Semi Headless to disable all the frontend pages except the image gallery pages.
Control What Is Allowed or Blocked
The following is can be toggled to be allowed or blocked:
individual posts and pages
works with custom post types
archive pages of taxonomies such as categories and tags
search result pages
home page
Multiple Ways to Set Block Status
Toggle the block status via:
the gutenberg post/page editor
the quick editor
the bulk action menu
404 Redirect
Redirect WordPress 404 errors to your headless site’s 404 error page to maintain consistency.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「TGEI Semi Headless」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。