Ionic and Wordpress Integration using Wordpress REST API. Use Ion2FullApp Ionic Template and take your Ionic App to the next level!
We will use Wordpress REST API to connect our Ionic app with our Wordpress blog.
The REST API is included in the Wordpress Core from WordPress 4.7! Plugins are no longer required, just install the latest version of WordPress and you're ready to go.
In order to check that you are able to make requests to the Wordpress REST API you only need to make a request to the following url:
http://YOUR-WORDPRESS-SITE/wp-json/wp/v2/and you should see something like this.
You need to add your WP REST API URL in the configs of the app so please go to the environments file located in src/environment and replace the values with your own values.