For over a year now, I have been talking to the WordPress community about JavaScript, specifically AngularJS. Not only have I expressed the growing significance of JavaScript to people in conversation and blog posts, but I have also emphasized its importance in several of my WordCamp talks in 2015. It appears that Matt Mullenweg shares this sentiment, because earlier this month at WordCamp US, he urged everyone to “learn JavaScript, deeply.” In this article, I’m going to walk through the fundamentals of creating a better admin interface for plugin and theme developers using AngularJS. I’ll also demonstrate how you can take it […]
A Conversation With Joe Hoyle, Co-founder Of Human Made, On ‘A Day Of REST’
Early next year, on Jan. 28, WordPress development agency Human Made is hosting a conference focusing solely on the WordPress REST API — appropriately named A Day of REST. While niche WordPress conferences are on the rise — with LoopConf for developers, PressNomics and Prestige Conference for career development, and too many blogging-centric conferences to mention — A Day of Rest is the first of its kind. The WordPress REST API is an important new feature and faces the challenge of mass adoption. Educating both WordPress developers and those who are looking to integrate WordPress’s content management system with some […]
Working With Post Meta Data Using The WordPress REST API
In version two of the WordPress REST API, several improvements have been made regarding how custom fields are handled in WordPress. If you haven’t downloaded version two yet, you can do so via WordPress.org or by cloning the “develop” branch of the official GitHub repo for the project. In this article, you’ll learn how to edit and create post meta fields using the WordPress REST API and how to retrieve or update metadata for a post. You’ll also learn how to customize the default endpoints for a post to expose post meta or other data related to a post. While this […]
Adding Custom Routes to the WordPress REST API
Most of the discussion around the WordPress REST API has been about querying the default routes. In that sense, we’re treating it as a monolithic API—like the Twitter API, for example. The truth is, however, that the WordPress REST API is not one API, but millions of highly customizable APIs, which can also be leveraged as a tool for making APIs. Yes, it comes with default routes, but, by necessity, those routes are a compromise between tens of millions of sites, including many that haven’t been made yet. Just like WordPress isn’t just the global WP_Query object, the REST API isn’t just the default […]
5 Comments