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 は WordPress.org のリポジトリで利用でき、お使いのWordPressのダッシュボードからインストールすることができます。 また、wpackagist.org の Composer を使ってインストールするなど、お好みの方法でもインストールできます。
プラグインの概要
このプラグインには主に2つの役割があります:
- Monitor Activity in WordPress to keep Gatsby in sync with WP
- Configure WordPress Previews to work with Gatsby
さらに、WPGatsbyには、お使いのWordPressサイトとGatsbyサイトを連携させるための設定ページがあります: