Skip to content
Publisher Theme For Gatsby and WordPress
JavaScript CSS
Branch: master
Clone or download
Latest commit 979b53e Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
create change structure so it’s easier to use Aug 17, 2019
src minor updates Aug 19, 2019
.gitignore initial commit Aug 8, 2019
.prettierrc change structure so it’s easier to use Aug 17, 2019
README.md update readme Aug 17, 2019
config.js minor updates Aug 19, 2019
gatsby-browser.js change structure so it’s easier to use Aug 17, 2019
gatsby-config.js change structure so it’s easier to use Aug 17, 2019
gatsby-node.js change structure so it’s easier to use Aug 17, 2019
gatsby-ssr.js change structure so it’s easier to use Aug 17, 2019
index.js
package.json change structure so it’s easier to use Aug 17, 2019
yarn.lock change structure so it’s easier to use Aug 17, 2019

README.md

gatsby-theme-publisher

This is a theme for a headless WordPress site using Gatsby as a static front end. It has all the stuff I wanted for my personal site, so I wanted to put it all in one theme.

I borrowed heavily from other themes, props to Jeff at Northstack, Zac Gordon, and the Tailwind Starter Theme.

Demo: scottbolinger.com

Note: This is still very experimental, don't use on a production site unless you're willing to deal with some bugs!

Features:

  • Fetch WordPress content via GraphQL
  • Comments
  • MailChimp Opt-in form
  • Design with Tailwind CSS
  • SEO tags
  • Sitemap
  • Google analytics
  • Static Featured Images via Gatsby Image

You can use my WP Netlify Deploy plugin to automatically rebuild on Netlify when you create or update a post.

Requirements

  • A WordPress site with the WPGraphQL plugin installed and active
  • A free Netlify account to host your Gatsby site
  • A github repository for the Gatsby files

How to use this theme

  1. Clone the repo

  2. Install dependencies

    yarn

    or

    npm install
  3. Edit the config.js file with your site information

  4. Run the development server

    gatsby develop
  5. Push to your own git repository, and publish on Netlify

You can use my WP Netlify Deploy plugin to automatically update your Gatsby front end when a post is created or updated.

You can’t perform that action at this time.