I have a local WordPress site with the following plugins installed:
I have a local Gatsby site running with ENABLE_GATSBY_REFRESH_ENDPOINT=true gatsby develop.
The WordPress instance settings are correctly pointing to the local preview server. I can see changes reflected in preview mode for the standard fields, such as the title.
However, the values in the custom fields are not being sent in the preview (they get null values despite having values in WordPress). Outside the preview mode, they work properly though.
Is ACF currently supported in preview mode?
This is actually a problem with the ACF extension. As far as I'm aware it's not yet fully supporting previews in the latest WPGQL. @jasonbahl mentioned it would only take a few LOC to make it work. @jasonbahl any updates? :)
I鈥檒l try and push a release tonight 馃
You should go enjoy your weekend tho! I don't think anyone needs it on a friday night 馃槢
Hi @nunof07 , can you update to the latest wp-graphql-acf and let us know how it went? This should work now :)
Hey @TylerBarnes , I can confirm this works now on my end 馃憤 .
Thank you @TylerBarnes @jasonbahl !
Most helpful comment
I鈥檒l try and push a release tonight 馃