Skip to main content
All Starters

wp-graphql-gatsby-starter

12
Updated Sep 11, 2020
By n8finch
Visit demo
Source
Try this starterCodeSandbox   Netlify 
Install this starter locally:
gatsby new wp-graphql-gatsby-starter https://github.com/n8finch/wp-graphql-gatsby-starter

Tags

Blog, CMS:Headless, CMS:WordPress, Netlify

Description

A super simple, bare-bone starter based on the Gatsby Starter for the front end and the WP GraphQL plugin on your WordPress install. This is a basic "headless CMS" setup. This starter will pull posts, pages, categories, tags, and a menu from your WordPress site. You should use either the TwentyNineteen or TwentyTwenty WordPress themes on your WordPress install. See the starter repo for more detailed instructions on getting set up. The example here uses the WordPress Theme Unit Test Data for post and page dummy content. Find something wrong? Issues are welcome on the starter repository.

Features

  • WP GraphQL plugin integration
  • Light/Dark Mode
  • React Helmet for SEO
  • Integrated navigation
  • Verbose (i.e., not D.R.Y.) GraphQL queries to get data from
  • Includes plugins for offline support out of the box

Dependencies