A GatsbyJS starter template that leverages the WordPress API, ACF and more
Switch branches/tags
Nothing to show
Clone or download
chmac Only use published posts / pages in production.
Ignore any posts or pages in draft, pending, etc status.

Changes copied from @dajocarter's work in #29.
Latest commit 638379a Nov 5, 2018

README.md

Gatsby v2 WordPress Starter

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

Demo: https://gatsby-starter-wordpress.netlify.com/

Use it now

gatsby new NAME https://github.com/GatsbyCentral/gatsby-starter-wordpress
  • 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%.

Contributors

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