[WordPress] 外掛分享: TGEI Semi Headless

首頁外掛目錄 › TGEI Semi Headless
全新外掛
安裝啟用
尚無評分
291 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0 上架:2024-10-11

內容簡介

總結: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 錯誤頁面,以維護一致性。

外掛標籤

開發者團隊

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

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

原文外掛簡介

A typical WordPress site is comprised of a frontend and a backend. The front end is what your visitors and is affected by the themes of WordPress. The back end is what editors and administrators use to edit the content of the website.
A headless WordPress website disables the front end of wordpress and by redirecting all requests to another frontend that been set up to replace the wordpress frontend.
TGEI Semi Headless provides a hybrid approach which enables the frontend of WordPress for allowed posts and pages while redirecting blocked posts and pages to the other frontend.
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.
Features
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
author archive pages
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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon