For easy to config the Wordpress site, you can download the site from this was already config and install all plugin that use for the app, or if you have your existing website, you can following by below setting.

Plugins install required:

  1. JSON API: A RESTful API for WordPress, require for the JSON API and API User

  2. JSON API User: Extends the JSON API for RESTful user registration, authentication, password reset...

  3. WP Rest API Cache: Enable caching for WordPress REST API and increase speed of your application.

  4. Better Rest API Featured Image: for some reason the image is not populate correctly so that need to install this plugin to support to show the image.

Download links:

Enable Worpdress setting

  1. Membership registration

  2. Anyone post a comment

And from the functions.php file you need to add following code:

function filter_rest_allow_anonymous_comments() {
    return true;

results matching ""

    No results matching ""