Big Ugly Blobs When WordPress saves Gutenberg blocks to the database, it smashes them together as a string of markup. When you query that via the REST-API or WPGraphQL? You get this big ugly blob of HTML: The screenshot above isn’t that...
Read More Quick Tip: Gutenberg Blocks as JSONTag: JSON
An Updated Overview of the WordPress JSON API in WordPress 4.4
I previously wrote about the first version of the WordPress JSON API here, but turns out, it’s not accurate anymore! Here’s an update of the code in that post; using this, you’ll be able to utilize the version two infrastructure of the API that is now in...
Read More An Updated Overview of the WordPress JSON API in WordPress 4.4WP-API: Endpoint Namespaces
WordPress is getting a JSON Rest API added to core. The first part of the API is actually already included. The endpoint infrastructure is in 4.4. As developers build extensions to the API, we need to take responsibility for our actions and how they can affect a...
Read More WP-API: Endpoint NamespacesCreate a Simple JSON Endpoint in WordPress
As you may or may not know, the WordPress JSON REST API is on the horizon for a future version of WordPress. This will be one of the most important and influential additions to WordPress core we may see, especially for those...
Read More Create a Simple JSON Endpoint in WordPressHow To Create an Auto-Updating Widget Using WP-API
In my last post, I gave you an overview of WP-API. Read through that post if you need a primer on the capabilities of WP-API. For this post, I will offer an example of API usage and how it can benefit site...
Read More How To Create an Auto-Updating Widget Using WP-APIAn Overview of the WordPress JSON API
** UPDATED POST FOR WP-API V2 HERE WordPress has had no formal REST API. There is the crude XMLRPC, but we won’t go into the gory details of the past. As part of Google Summer of Code (GSOC), Ryan McCue submitted a proposal...
Read More An Overview of the WordPress JSON API