Make a mobile app with WordPress & Phonegap: Part 3 – Menus

This is part 3 of our series about how to build a mobile app with WordPress and Phonegap using the JSON REST API. Here are links for part 1 and part 2.

At this point you should have a simple app that displays posts from WordPress in a list, and you can click those to transition to a single post view.

In part 3 of this series, we’ll add a panel menu and some static pages.

Download tutorial files

Continue reading “Make a mobile app with WordPress & Phonegap: Part 3 – Menus”

Custom App Spotlight: Vinitial

The AppPresser team develops custom apps for clients who need great performance and custom features. Custom apps go beyond the current capabilities of AppPresser products, Learn more here.

Let’s say you play soccer on the weekends, and last Sunday you tweaked your back for the 3rd time. You visit your physical therapist to get checked out, because you figure you need more than ice and advil this time.

He fixes you up, scolds you for slide tackling at your age, and sends you on your way with a list of exercises.

You wake up the next day and start on your prescribed workout, and all of a sudden get a shooting pain up your spine. Wouldn’t it be great if you could just text your doctor and get an immediate response, instead of scheduling another appointment and waiting in pain for 2 days?

Continue reading “Custom App Spotlight: Vinitial”

Make a mobile app with WordPress & Phonegap: Part 2 – Page Transitions

This is part 2 of our series about how to build a mobile app with WordPress and Phonegap using the JSON REST API. You can find part 1 here.

In part 2 of this series, we’ll learn how to add different views with page transitions.

Views are basically pages, but they work different than website pages. We are creating a single page app, so there aren’t really pages per se, but the content that is in view will change. That’s why it’s called a view.

Today we will add a feature where users can click on a post in the post list, and it will transition into a single post view. There will also be a back button to return to the post list.

Download tutorial files

Continue reading “Make a mobile app with WordPress & Phonegap: Part 2 – Page Transitions”

Using the WordPress REST API in a mobile app

Update 12/7/16: The REST API is now in WordPress core! You don’t currently need a plugin if using 4.7+.

View our updated article for using the final version of the WP-API in a mobile app using Ionic 2 here.

The REST API is currently a plugin that allows applications to access the data produced by WordPress in JSON format. Version 1.0 was recently released, and it is slated to be in WordPress core by version 4.1 later this year.

This is incredible news for anyone interested in making mobile apps with WordPress!

The implications of this API have already been written about by WP Tavern, this article will focus on how to use it to build a mobile application.

Let’s talk about creating a simple mobile app using Phonegap that will pull data from your site using the REST API.

Continue reading “Using the WordPress REST API in a mobile app”