WordPress

Working with Custom Post Types in WP-API v2

If you worked with the first version of the WP-API, you know that getting custom post types was really easy. To get all posts, I could send a GET request to http://scottbolinger.com/wp-json/posts. To get a specific type, I could send my request to http://scottbolinger.com/wp-json/posts?type=event. There have been some pretty big changes in version 2, which

Working with Custom Post Types in WP-API v2 Read More »

Basic Authentication with the WP-API (v2) and AngularJS

Check out an updated post on WordPress login using Typescript and Angular 2 with a free plugin here. Working on the WP-App Project, we need to use authentication to do certain things in the app. Deleting/approving comments, or listing users for example. Basic Authentication is handy for testing code, but it should only be used

Basic Authentication with the WP-API (v2) and AngularJS Read More »