Gatsby & WordPress - 5.6. - Building Taxonomy Pages in Gatsby with WPGraphQL

by Jack Pritchard

Hey! This post's a little over two years old now, so some of what's here might be out of date. Still worth a read, but if anything really matters to you, it's worth double-checking against a newer source too.

With our new WordPress Taxonomy surfacing in our WPGraphQL schema, we now go on to build our internal Gatsby GraphQL schema.

With the new data available to Gatsby, we set up a programmatic node function process to generate new pages based on the taxonomies available in our WordPress setup, and then list the posts that fall under the new taxonomy.