manifest / integrations / rjm-gatsby-preview
RJM Gatsby Preview
Headless WordPress preview integration for RJM Gatsby websites
by RJM Digital · github.com/rjm-digital/rjm-gatsby-preview · website
★ 0stars
2release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/rjm-digital/rjm-gatsby-preview/releases/download/v2.0.0/rjm-gatsby-preview-2.0.0.zipFrom the readme
RJM Gatsby Preview
A WordPress plugin that redirects the native Preview action to a headless Gatsby website and authorizes preview-only WPGraphQL requests from its server-side preview function.
Responsibilities
This repository owns the universal WordPress integration:
- Gatsby site URL and shared preview secret settings
- Secure random secret generation
- WordPress Preview link redirection
- Preview-only WPGraphQL authentication
- Automatic updates from GitHub Releases
The Gatsby /preview page, Netlify function, and site-specific GraphQL query generation remain in each website repository.
Requirements
- WordPress 6.0 or later
- PHP 8.0 or later
- WPGraphQL
- A Gatsby site with the RJM preview adapter
Installation
1. Download the latest rjm-gatsby-preview-.zip from GitHub Releases.
2. In WordPress, open Plugins Add New Upload Plugin.
3. Upload, install, and activate the plugin.
4. Open Settings RJM Gatsby Preview.
5. Enter the Gatsby site URL and the same preview secret configured as PREVIEWSECRET in Netlify.
WordPress will offer future GitHub Release versions through its normal plugin update screen.
Existing-site migration
The plugin preserves the existing rjmgatsbyp
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v2.0.0 | Sep 1, 2026 | rjm-gatsby-preview-2.0.0.zip | 2 |