Gatsby & WordPress - 3.3. - Querying in a Page - WhatJackHasMade

Gatsby & WordPress – 3.3. – Querying in a Page

In this video, we look at querying our GraphQL schema directly within a Gatsby page template. The Gatsby GraphQL queries are handled by the graphql package that Gatsby provides us.

We create a demo query which asks for information regarding our WordPress posts. With the JSON response, we then render some blog posts slugs to the page.

Tell Me About Your Project

Get in Touch