Update: For more information, you can download our free ebook, The Ultimate Guide to the WordPress REST API. In my last article in this series, I discussed optimizing and preparing your site to serve as the content management system and REST API for a single page web app (SPA) that does not run inside of WordPress. I have packaged those optimizations into a WordPress plugin, called Josie-API, which you can install from WordPress.org. I have also put the complete code that I’ll be walking you through in this article and the next one in a GitHub project called Josie, so if […]
Introduction to the JSON REST API Part 2
Update: For more information, you can download our free ebook, The Ultimate Guide to the WordPress REST API In last week’s article, I showed just how easy it is to use the new WordPress REST API to get posts from a remote site. In this article we’re going to build on what we learned last week and use the REST API to copy posts from one site to another. First I’ll show you how to create a post in a site with data sourced from a remote site via the REST API. Then I’ll show you how to take a post […]
Introduction to the JSON REST API
Update: For more information, you can download our free ebook, The Ultimate Guide to the WordPress REST API In my article on the future of WordPress, I wrote about how the introduction of a JSON RESTful API to WordPress core will radically expand WordPress’s reach and capabilities. What is so exciting about this new REST API — which is currently available as a plugin, and slated to be included in WordPress 4.1 — is its ability to use it to not only display content from other WordPress sites, or even other applications entirely, but to save content from other sites, whether they are […]
No Comments