Skip to content
Demo showing how to use WPGraphQL as the source for Gatsby Sites
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gatsby ♻️ REFACTOR: The content creation wasn't async which was causing buil… Feb 14, 2019
img
src UPDATE CSS Feb 26, 2019
.editoconfig
.eslintrc.json
.gitignore
.nvmrc
.prettierignore 🚀 Initial iteration of the site Feb 14, 2019
.prettierrc
LICENSE
README.md
config.js
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package-lock.json 🚀 Initial iteration of the site Feb 14, 2019
package.json
yarn.lock

README.md

Gatsby Gatsby

Gatsby + WPGraphQL Blog Example

This is an example Gatsby site using WPGraphQL as the source.

WordPress Source

The WordPress where the content is managed lives here: https://demo.wpgraphql.com

Screenshot of the WordPress source site

Gatsby Site

The Live Gatsby site is at: https://gatsby-wpgraphql-blog-example.netlify.com/

Screenshot of the Gatsby site

Features

Below are features of the Gatsby site that are all sourced via WPGraphQL Queries, so the data is managed in WordPress, but is pulled into the Gatsby site and rendered there:

  • Menus
  • Pages
  • Paginated Blogroll/homepage
  • Single Posts
  • Authors
  • Categories
  • Tags
You can’t perform that action at this time.