Skip to content
A GatsbyJS starter template that leverages the WordPress API, ACF and more
Branch: master
Clone or download
chmac Merge pull request #41 from anantoghosh/purgecss
Update and configure gatsby-plugin-purgecss.
Latest commit 4f85397 Mar 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Bugfix. Use `slug` as `key`. Nov 5, 2018
.browserslistrc Copy gatsby-starter-netlify-cms Oct 4, 2018
.codeclimate.yml Copy gatsby-starter-netlify-cms Oct 4, 2018
.eslintrc.json Linting tweaks. Most errors gone now. Oct 4, 2018
LICENSE Add upgrade warning. Dec 19, 2018
gatsby-config.js Add purgecss options Mar 8, 2019
gatsby-node.js BUGFIX. We need the `status` field for production. Nov 30, 2018
yarn.lock Update yarn.lock for gatsby-plugin-purgecss Mar 8, 2019

Gatsby v2 WordPress Starter

This starter is forked from the gatsby-starter-netlify-cms and modified to use WordPress instead of netlify-cms.


WARNING: Using yarn upgrade or npm update will break the site. See GatsbyCentral/gatsby-starter-wordpress#36 and gatsbyjs/gatsby#10262 for more info. Hopefully we'll have a resolution soon. - 19 Dec 2018

Use it now

gatsby new NAME
  • Edit gatsby-config.js, change baseUrl
    • Make sure you have at least 1 post and 1 page on your WordPress site
    • Make sure at least 1 post has at least 1 tag
  • Rejoice

Known Limitations

CSS Processing

This plugin uses gatsby-plugin-purgecss and bulma. The bulma build would otherwise be ~170K which adds 170K to each of your built HTML pages. However, with purgecss this is reduced 90%.


This starter was forked from the netlify starter by the GatsbyCentral crew. Additional contributions were gratefully received from the following folks:

You can’t perform that action at this time.