[WordPress] 外掛分享: Decoupled Preview

首頁外掛目錄 › Decoupled Preview
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
686 天前
最後更新
問題解決
v1.0.6 上架:2023-04-11

內容簡介

這款 WordPress 外掛可以在多個拆解前端中提供預覽,並且可以與 Decoupled Kit Next.js WordPress Starter 一起使用,提供預先配置的文章和頁面內容。它還具備多項功能,例如在編輯文章/頁面時進行預覽、配置多個預覽站點、指定每個預覽站點應用的文章類型等等。要使用此外掛,只需要在 WordPress 的後台中導航到「設置 - 預覽站點」,並進行標籤、URL、密鑰、預覽類型以及內容類型等設置即可。

問題與答案:
1. 這款 WordPress 外掛的主要功能是什麼?
- 它可以在多個拆解前端中提供預覽,並且可以與 Decoupled Kit Next.js WordPress Starter 一起使用,提供預先配置的文章和頁面內容。
2. 這款外掛有哪些功能?
- 它可以在編輯文章/頁面時進行預覽、配置多個預覽站點、指定每個預覽站點應用的文章類型等等。
3. 如何進行此外掛的設置?
- 在 WordPress 的後台中導航到「設置 - 預覽站點」,並進行標籤、URL、密鑰、預覽類型以及內容類型等設置即可。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin intends to provide a single home for preview on a variety of decoupled front-ends. Can be used with the Decoupled Kit Next.js WordPress Starter for pre-configured examples for post and page content.
Features

Preview while editing a Post/Page.
Configure multiple preview sites.
Specify the post types (Post and Pages) that each preview site applies to.

Configuration
In the WordPress Admin Dashboard, navigate to Settings -> Preview Sites, add one or more preview sites, and configure the following:

Label: The name of the site.
URL: The URL of the decoupled site you are providing preview data to.
Secret: A token that will be passed to your decoupled site used to limit access to the preview.
Preview Type: The type of preview site – currently only NextJS is supported.
Content Types: The post types (like Post and Page) that this preview site applies to.

For more information on how preview data can be consumed on your front-end site, see implementing decoupled preview.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon