WPGatsby is a free open-source WordPress plugin that optimizes your WordPress site to work as a data source for Gatsby.
This plugin must be used in combination with the npm package gatsby-source-wordpress@^4.0.0
.
WPGatsby is available on the WordPress.org repository and can be installed from your WordPress dashboard, or by using any other plugin installation method you prefer, such as installing with Composer from wpackagist.org.
This plugin has 2 primary responsibilities:
- Monitor Activity in WordPress to keep Gatsby in sync with WP
- Configure WordPress Previews to work with Gatsby
Additionally, WPGatsby has a settings page to connect your WordPress site with your Gatsby site: