Closed markedup closed 6 years ago
using-wordpress
example is specifically adjusted to demo things that vanilla wordpress installation won't include - this particular error - ACF Flexible Content field. So this is to be expected that exapmle won't work with other urls. If you are looking to start testing I think using something like https://github.com/ericwindmill/gatsby-starter-wordpress should work
Feels misleading to have the useACF
field toggle in there then, but thanks for the link to the starter project all the same.
That example does use acf, so it need to have useACF
. But that said we could add disclaimer somewhere that using-wordpress
is tied to specific wordpress instance and won't work with other instances - would You be interested in creating PR for this?
Description
Cannot successfully build using a wordpress.com-hosted site in the latest (i.e. 'Next') version of the
example-wordpress
demonstration.Steps to reproduce
example-wordpress
npm install
in Terminalgatsby-config.js
[full code below]npm run build
in TerminalExpected result
A static version of your hosted WordPress site is output to the local file system.
Actual result
Environment
File contents (if changed)
gatsby-config.js
package.json
: N/Agatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/A