Insights

Gatsby & WordPress – 2.5. – ACF and GraphQL

13/11/2019 by Jack Pritchard

In this video I'll be covering ACF and the WPGraphQL plug-in, and how we can raise some of the ACF fields on custom post types into the schema.

I've gone ahead and synchronized my database with my current live environment so I've got access to a ton of actual data now to preview some demos. I've got access to my media, pages, and case studies.

I'll be looking at the event post types specifically in this video where I have some advanced custom fields for every event that I create -

  • Date
  • Venue
  • URL

By default, these custom fields don't show in our Schema but I'll be going into how you can configure the field groups so that they are risen in our schema and accessible in our GraphQL queries.

Continue Reading 📚