[WordPress] 外掛分享: Frontend View For Headless CMS

首頁 › 外掛目錄 › Frontend View For Headless CMS
WordPress 外掛 Frontend View For Headless CMS 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(5 則評價)
10 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 7.2+ v3.0.0 上架:2024-06-26

內容簡介

Frontend View For Headless CMS 是一款能夠無縫連接 WordPress 後端內容與無頭 CMS 前端網站的外掛,讓使用者可以輕鬆訪問後端內容,提升網站的靈活性與效率。

【主要功能】
• 設定無頭前端的基本 URL
• 將公共請求重定向至無頭前端 URL
• 重新寫入文章、頁面及自訂文章類型的連結
• 自訂預覽路徑以便於草稿查看
• 對應作者存檔路徑至前端用戶區段
• 支援空 slug 選項以簡化 URL 結構

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.0.0) 或搜尋安裝

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

原文外掛簡介

Frontend View For Headless CMS connects your WordPress backend to the decoupled frontend that actually renders it. When WordPress is your content source and the public site is built with Next.js, Nuxt, Astro, Gatsby, React, Vue, or any other stack, the admin “View” links, preview links, and author/taxonomy URLs normally still point at WordPress. This plugin rewrites them to the paths your frontend uses, so editors land on the real, published experience every time.
Everything is configured from a single, redesigned Frontend View Settings page with a clean tabbed layout: General, Slug Mapping, Diagnostics, Secure Preview, Tools, and a built-in Next.js integration guide. No code is required for the core workflow — set your frontend URL and your links just work.
What it does

Rewrites admin “View” links on post, page, custom post type, taxonomy, and user list screens to your configured frontend URL. Links open in a new tab for a safer editing workflow.
Optional 301 redirect of public WordPress frontend requests to your headless frontend, while leaving admin, REST API, GraphQL, feeds, sitemaps, robots.txt, previews, login, cron, and AJAX untouched. Off by default.
Custom preview path (for example /preview/post-slug/ or /api/preview) for draft and preview links, with the preview query string preserved.
Author slug mapping so author archive links match your frontend user segment.
Per-taxonomy and per–post-type slug overrides to align WordPress routes with your frontend routing.
Nested path support in every slug field (for example news/technology), so hierarchical frontend routes are preserved. Existing single-level mappings keep working unchanged.
Empty slug option to drop a taxonomy or CPT base segment entirely (flat routes like /my-post/ instead of /products/my-post/).
URL conflict detection that surfaces advisory warnings for duplicate, shadowed, reserved, or ambiguous slug mappings right on the settings page. Warnings never block saving and never change your settings.
Settings import/export in a versioned JSON format, with an import preview and an explicit confirmation step. Secrets are never exported, and a failed import leaves your existing settings untouched.
Connection diagnostics that test connectivity to your configured frontend (status, response time, TLS verification, redirects) with strong SSRF protection. Only the saved URL is tested, private/reserved addresses are blocked, every redirect hop is re-validated, and local/development URLs are skipped for safety.
Secure authenticated preview (opt-in) so authorized editors can preview draft, pending, private, and scheduled content on a Next.js (App Router, Draft Mode) frontend using a short-lived, single-use signed token that is exchanged for an httpOnly preview session. No permanent secret is ever placed in a URL.
Local development URLs such as http://localhost:3000 are supported for link rewriting and redirects.
Multisite compatible, with a per-site frontend URL.

Works with any frontend that consumes WordPress through the REST API, GraphQL, or your own data layer — as long as your frontend URLs follow the paths you configure.
Development
This plugin is developed by Dropndot Solutions. For more information, visit Dropndot Solutions.
Contact
For support or inquiries, please contact us at [email protected].
Like the Plugin?
If you find this plugin helpful, please leave a positive review on the WordPress Plugin Directory

延伸相關外掛

文章
Filter
Mastodon