이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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.

설치

To install Decoupled Preview, follow these steps:

  • Install the plugin from WordPress.org using the WordPress dashboard.
  • Activate the plugin.

To install Decoupled Preview in one line with WP-CLI:

wp plugin install decoupled-preview --activate

Additional information on configuring the plugin can be found in the configuration section of the project details.

FAQ

What type of content can be previewed?

While we hope to expand in the future, the initial release of this plugin only supports NextJS. It was developed in support of Pantheon’s Next WordPress Starter, but can be applied to other NextJS sites using a similar approach.

Does this plugin support the classic editor?

This plugin currently only supports the block editor.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Decoupled Preview”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Decoupled Preview”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.6 May 2, 2024

  • Updates Pantheon WP Coding Standards to 2.0 [#63]
  • Fixes an issue with broken activation and deactivation hooks

1.0.5

  • Preview Button Regression in WordPress 6.3. [#58]

1.0.4

  • Improve Handling of secrets field. [#53]
  • Move set default preview site functionality to wp-pantheon-decoupled. [#54]

1.0.3

  • Bugfix for cases where Decoupled Preview link did not load due to a js error. [#43]

1.0.2

  • Bugfix that prevented posts that didn’t have a revision from being previewed.[#39].

1.0.1

  • Update plugin slug for automated releases to wp.org [#26].

1.0.0

  • Bugfixes and refactoring.

0.1.0

  • Initial release