How to Use the WordPress API
OSTraining
Course Summary
If you are a WordPress developer, you need to learn about the WordPress REST API. This is the new feature that will define working with WordPress in the future.
-
+
Course Description
If you are a WordPress developer, you need to learn about the WordPress REST API. This is the new feature that will define working with WordPress in the future.It’s going to become a required tool for building the best WordPress solutions. With it, you’ll exceed your client’s expectations and redefine what they think WordPress can do. That’s why the big sites and enterprise development agencies are already using it. The future of WordPress is the WordPress REST API, don’t get left behind.
This class is divided into four sections:- Introduction to the REST API: improving your theme with the REST API and jQuery AJAX.
- REST API Authentication basics: creating a front-end post editor and user profile editor with the REST API.
- Customizing the REST API: using custom routes and endpoints as admin-ajax replacements.
- Building apps with the WordPress REST API: you'll build a custom app with the REST API and AngularJS.
Note: you will need experience with PHP, Javascript and WordPress development to make the most of this class.
Hi, I’m Josh Pollock and I’m a WordPress plugin developer, educator and entrepreneur. WordPress, the tool that powers 25% of the internet has allowed me to travel the country, make new friends, be a part of an awesome community and start multiple companies. It is amazing luck that I chose WordPress for my first blog, and figured out how easy it was to start hacking my theme.
When I’m not pressing all the words, I enjoy reading, exercising, and tasty foods. I live in Tallahassee, FL with my wife Alicia. My educational background is in environmental studies, which I promise you is a perfect foundation for what I do today, seriously.
I am the founder of CalderaWP makers of Caldera Forms, URL Builder and other fine WordPress plugins. In addition I am the lead developer for Ingot, the automated A/B testing framework. I am also a contributor to WordPress core, the WordPress REST API, and plugins by Foo Plugins, Postmatic, Pods, Aesop Interactive, WordImpress, GravityView and more.
-
+
Course Syllabus
Introduction
What is the WordPress REST API?
How to Query WordPress Posts with PHP
How to Query Posts Using jQuery Ajax
How to Improve the Tags Views in Your Theme
Authentication
Make Authenticated Requests With the REST API
How to Set Up Authentication Inside WordPress
How to Set Up Authentication Outside WordPress
How to Create Custom Authentication in WordPress
Customizing
How to Customize the REST API
How to Modify Responses From the REST API
An Example of Modifying the Default Responses
How to Create Custom Responses for the REST API
An Example of Creating Custom Responses
Building Apps
How to Use AngularJS With WordPress
How to Connect to the REST API with AngularJS
How to Create an AngularJS View for WordPress
How to Use the AngularJS UI Router in Your App