O'Reilly logo

WordPress Mobile Applications with PhoneGap by Yuxian Eugene Liang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Extending WordPress Using JSON-API

In this chapter we will learn how to extend WordPress by using JSON-API. Here are a few things that we will be doing with the JSON-API plugin:

  • Extend WordPress by exposing JSON endpoints via WordPress
  • Manipulate data through these endpoints by techniques such as reading and creating data

Remember we included some sample data for our WordPress site via the GeoPlaces theme? To set the stage, these sample data will be manipulated using the JSON-API endpoints.

Introducing the JSON-API plugin

The JSON-API plugin can be downloaded from https://github.com/Achillefs/wp-json-api. The documentation for the API is found at http://wordpress.org/extend/plugins/json-api/other_notes/. Note that we are not using the official ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required