Table of Contents
CalypsoZac introduces Calypso, which is a re-envisioning of the WordPress application as a Single Page Application (SPA) built on React by the folks that make WordPress.
Challenge 1: SolutionZac walks through the solution to Challenge 1.
Challenge 4: SolutionZac walks through the solution to Challenge 4.
Ajax in WordPress
Introducing Ajax in WordPressAfter explaining that Ajax in WordPress means interacting with the database and codebase, Zac reviews how Ajax is handled within the WordPress with a nonce. A nonce is a hash associated with an Ajax call to help protect WordPress from invalid requests.
Ajax StepsZac reviews the steps involved to set up Ajax in WordPress.
Challenge 5: Ajax in WordPressIn this challenge, students create a "Like this Site" plugin.
Challenge 5: SolutionZac walks through the solution to Challenge 5.
Q&AZac answers questions from students about Ajax, WordPress, and shortcodes and more.
WordPress REST API
Introducing WordPress REST APIZac reviews the API for WordPress.
Query ArgumentsZac illustrates how to passing arguments to API URLs to customize the JSON responses.
Challenge 6: WordPress REST APIIn this challenge, students work on accessing API endpoints.
Challenge 6: SolutionZac walks through the solution to Challenge 6. Zac takes questions from students.
Customizing API EndpointsIn this challenge, students access WordPress API with simplified JSON.
Accessing API Inside of WordPress
Introducing How To Access API Inside of WordPressZac reviews the process for accessing and using API inside of WordPress.
Challenge 7: Listing API PostsIn this challenge, students retrieve a list of posts with the backbone client.
Challenge 7: SolutionZac walks through the solution to Challenge 7.
More API PostsZac prompts students to continue working on the WordPress REST API exercises.
Working with the REST APIZac reviews more possibilities and tips for working with the REST API, including using Vue in a WordPress theme.
Accessing API Outside of WordPress
Introducing How To Access API Outside of WordPressZac discusses the reasoning and benefits for accessing REST API outside of WordPress including using WordPress in a headless content management system (CMS).
Deleting Posts with Rest APIZac demonstrates how to work with the REST API outside of WordPress to delete posts.
Challenge 8: Listing PostsIn this challenge, students lists posts and a single post using the REST API outside of WordPress.
Challenge 8: Listing Posts, Part 2Zac discusses a few points about the structure in running WordPress decoupled including having WordPress and localhost needs to be on SSL.
Challenge 8: SolutionZac walkthroughs the solution to Challenge 8.
Decoupled Authentication with WordPressZac reviews Basic Auth, JSON Web Tokens (JWT) Auth, OAuth 1 & 2, and WordPress API Broker as methods for setting up authentication. Zac walks through setting up decoupled authentication.
Setting Up Decoupled Authentication with WordPressZac walks through setting up decoupled authentication.
Saving PostsZac demonstrates how to save posts using a decoupled WordPress set up.
Deleting PostsAfter showing how to save posts, Zac quickly shows how to delete posts.