Skip to content

Effort to produce good starting point for headless WP based, gatsby driven websites.

License

Notifications You must be signed in to change notification settings

EvGreen/gatsby-wordpress-boiler

Repository files navigation

v0.9.6.0 (not rdy for primetime)

Effort to produce good starting point for headless WP based, gatsby driven websites.

What is it for?

  • For starting new projects with a bunch of reusable components and styling.
  • For quickly mocking up websites for people on too tight of a budget for custom solutions.

What do I need?

  • WordPress install on some server + ACF Pro and couple other plugins + preferably Netlify account for convenience.

How to?

1. Prepare WordPress install for the backend, then add these plugins:

2. Clone the repo. Doesn’t have to be in wp-content/themes.

3. Modify gatsby-config.js file, namely baseUrl parameter and sourceUrl. Choose protocol according to your WP install. You will need to create a WP menu, and create ACF flexible content block (hero) with image block (image) that contains an image field (img) and WYSIWYG field (content), or just remove this part from templates/page.js query (otherwise it’ll break the build). I’ll provide ready-to-go ACF fields import file once I decide on content model. Skip this step if you want to see the default demo.

4. Run:

npm install

and:

gatsby develop

or:

gatsby build

gatsby serve

5. Edit away!

About

Effort to produce good starting point for headless WP based, gatsby driven websites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published