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;
}
add_filter('rest_allow_anonymous_comments','filter_rest_allow_anonymous_comments');
Note:

If you have not had existing Wordpress website, you can download the Wordpress package from here DOWNLOAD which is already config the plugin and demo data, similar with the BeoNews app.

results matching ""

    No results matching ""