Preview headless WordPress content on Front-end sites including Next.js.
| Author: | Pantheon Systems (profile at wordpress.org) |
| WordPress version required: | |
| WordPress version tested: | 6.3.5 |
| Plugin version: | 1.0.6 |
| Added to WordPress repository: | 12-04-2023 |
| Last updated: | 02-05-2024
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://github.com/pantheon-systems/wp-decoup... |
| Total downloads: | 8 810 |
![]() Click to start download |
|
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.
