gatsby-starter-wordpress-graphql
gatsby-starter-wordpress-graphql copied to clipboard
A bare-bones Gatsby starter powered WordPress and WPGraphQL!
gatsby-starter-wordpress-graphql
A bare-bones Gatsby starter powered by WordPress and WPGraphQL!
Includes support for:
- Gutenberg via wp-block-components
- Menus
- Posts
- Pages
- Category, Tag, and Author archives
- Basic SEO
- Sorry, neither WordPress comments nor search don't work just yet. But I welcome your contributions!
WordPress Prerequisites
The following plugins are required to be activated on a WordPress website:
These plugins are optional:
Gatsby Development
Download this starter
gatsby new <project-name> https://github.com/gregrickaby/gatsby-starter-wordpress-graphql
Configure
Open gatsby-config.js
and point the URLs at your WordPress websites.
Start a local development server
yarn start
Other handy CLI commands
Clear Gatsby's cache and start fresh
yarn clean
Build/Test before a deployment
yarn build
Deployments
The demo is hosted on Netlify and deployments are triggered by commits to master
and with Deploy Netlify Webhook.
Contributing
Feel free to create an issue and read about how to Contribute.
Props
Thanks to the awesome Gatsby community for all the ❤️!