The best ionic tutorial to learn how to communicate your ionic app with Wordpress core API
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7670502 Apr 2, 2018
Permalink
Failed to load latest commit information.
resources initial commit Oct 6, 2017
src tutorial ready Dec 31, 2017
.editorconfig initial commit Oct 6, 2017
.gitignore initial commit Oct 6, 2017
LICENSE Create LICENSE Apr 2, 2018
README.md Update README.md Feb 7, 2018
config.xml tutorial ready Dec 31, 2017
ionic.config.json initial commit Oct 6, 2017
package-lock.json tutorial ready Dec 31, 2017
package.json tutorial ready Dec 31, 2017
tsconfig.json initial commit Oct 6, 2017
tslint.json initial commit Oct 6, 2017

README.md

Let's build an Ionic app for your Wordpress site using Wordpress REST API! This ionic tutorial will show you how to communicate with the WP API in order to get your Wordpress posts, categories, comments. We also added Wordpress Login using JWT .This ionic tutorial includes a working example you can reuse for your needs!

Please support this project by simply putting a Github star ⭐. Share this library with friends on Twitter and everywhere else you can. 🙏

Check the complete step by step tutorial in: https://ionicthemes.com/tutorials/about/ionic-wordpress-integration

Installation

Install dependencies

npm install

Wordpress Configuration

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 REST API you only need to make a request to the following url: http://YOUR-WORDPRESS-SITE/wp-json/wp/v2/ Please note that you need to change 'YOUR-WORDPRESS-SITE' with your own value.

Run the app on the browser

ionic serve

Run the app on your phone

ionic cordova platform add android
ionic cordova run android

or

ionic cordova platform add ios
ionic cordova run ios