An easy way to get started developing an Ionic mobile app with WordPress.
This app pulls in posts from a WordPress site running the WP-API v2 plugin.
- Install and activate the WP-API v2 plugin on your WordPress site
- Clone this repo to your computer: $ git clone https://github.com/scottopolis/wp-starter.git
- Open js/controllers.js and change $rootScope.url to your website. Make sure to leave the /wp-json/wp/v2/ part. Example: http://mysite.com/wp-json/wp/v2/
- Open index.html in Safari or Chrome to view the app.
You can edit this app and compile into a native app using Phonegap if desired.