This past weekend I released v1.2.0 of WPGraphQL. And 1.2.1, and 1.2.2, and 1.2.3, and 1.2.4, and 1.2.5. I made some changes to the Github repo that caused deploys to not behave as intended, and to call it a “snafu” might be an understatement. Plugin distribution For the first 4 years of WPGraphQL, the plugin …
Category Archives: WordPress
WPGraphQL featured on the Matt Report
On February 28, The Matt Report podcast published the episode where Matt and I discussed WPGraphQL and WordPress. In the interview we discussed topics such as using WordPress with Gatsby, Gutenberg, Component based architecture, and more. Check it out over at MattReport.com, or catch the video interview on YouTube:
WPGraphQL featured on Torque News Drop
I had the pleasure of joining Doc Pop Roberts on the Torque Magazine News Drop. We spent 18 minutes discussing headless WordPress and WPGraphQL. Give it a watch!!
Setting up a new developer environment to contribute to WPGraphQL..
I just announced that I am now employed by WP Engine to work on WPGraphQL. With new employment comes a new Macbook, which I need to setup as a dev machine to continue working on WPGraphQL. It’s always a tedious process to get a new computer setup to be an effective developer, so I thought …
Continue reading “Setting up a new developer environment to contribute to WPGraphQL..”
What’s next for WPGraphQL?
On February 1, I announced that I was no longer employed at Gatsby, and stated a blog post would be coming soon. This is that blog post. TL;DR I’m joining WP Engine as a Principal Software Engineer where I will continue maintaining WPGraphQL and will contribute to other projects and initiatives centered around the goal …
Allowing WPGraphQL to show unpublished authors in User Queries
Objective The goal of this article is to make a non-authenticated GraphQL query for a User with no published content and to get the User returned in the response. Like the following: NOTE: To test these queries you will want to use a GraphQL client that is not Authenticated, such as GraphQL Playground or Altair. …
Continue reading “Allowing WPGraphQL to show unpublished authors in User Queries”
Announcing WPGraphQL v1.0
I’m so excited to announce WPGraphQL 1.0! If you’ve been using WPGraphQL for your side projects, but are waiting for the “stable” version, then this is it! You can use WPGraphQL in production with the confidence that it is secure, well documented, and supported full time and long term. If you’re new to the WPGraphQL …
Query posts based on Advanced Custom Field values by Registering a Custom “where” Argument
If you manage custom fields in WordPress using Advanced Custom Fields, and you want to use WPGraphQL to get a list of posts filtering by the ACF field value, you’ll need to implement a few things in your themes functions.php. Summary: Register the new “where” argument: First you need to create a add_action on graphql_register_types …
Registering Types and Fields: Pair Programming with Jacob Arriola
On Thursday, March 26, 2020 I pair programmed with Jacob Arriola, Senior Web Engineer at Zeek Interactive. Zeek Interactive is a California-based software agency specializing in WordPress and Apple iOS. They recently moved their own marketing website from traditional WordPress to Headless WordPress with WPGraphQL as the API and Gatsby as the front-end. With the …
Continue reading “Registering Types and Fields: Pair Programming with Jacob Arriola”
Forward and Backward Pagination with WPGraphQL
WPGraphQL makes use of cursor-based pagination, inspired by the Relay specification for GraphQL Connections. If you’re not familiar with cursor-based pagination it can be confusing to understand and implement in your applications. In this post, we’ll compare cursor-based pagination to page-based pagination, and will look at how to implement forward and backward pagination in a …
Continue reading “Forward and Backward Pagination with WPGraphQL”