Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

WebDevStudios/gatsby-starter-wordpress-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-starter-wordpress-graphql

Netlify Status

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!

👉🏻View Demo

WebDevStudios. WordPress for big brands.

WordPress Prerequisites

The following plugins are required to be activated on a WordPress website:

  1. WPGraphQL
  2. WPGraphQL Gutenberg
  3. Deploy Netlify Webhook

These plugins are optional:

  1. WPGraphQL ACF
  2. WPGraphQL Gravity Forms
  3. WPGraphQL Yoast

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 ❤️!