fbpx

WordPress

WordPress

With WordPress v2 you can integrate your posts & pages.

This new version doesn’t require you to install a plugin and works with all WordPress versions from 4.7.0+ via the native JSON API.

 

General settings

First, you will add the Feature to your Application.

WordPress feature choosing

 

After what you will see the following configuration page

WordPress manage

WordPress URL: This is the WordPress you want to fetch posts & pages from.

Group all queries into a single list: This one is a display option, in WordPress v2 you can build what we call “queries”.

They are a collection of posts and/or pages, choosing this option will group all the queries into a single list page like the picture below:

 

WordPress in app view

Otherwise, when not checked, queries will be displayed like “categories/folders”

WordPress in app view2

Show cover: this option applies only when the queries are not grouped, and will toggle the Cover display on the homepage.

Login / Password: If you want to access posts & pages secured by an account, input your credentials, otherwise leave them blank.

 

Query builder

Let’s build our first query, here named “Technology” 

WordPress add queryWordPress add query2

The query builder fetched all available categories & pages from our previously configured WordPress, we selected “Tech” which contains 76 posts for our query.

WordPress in app view3

And a page query (here Contact)

WordPress in app view4

Design

In the design section, you can upload backgrounds for the feature.

WordPress design

Settings

WordPress setting

 

The settings section offer two options, the first is the card design alternative

WordPress in appWordPress in app2WordPress in app3

 

The second is related to the cache lifetime, to improve loading times and reduce the load on the WordPress server, all queries are cached, however, the in-app function “Pull to refresh” automatically rebuilds the cache to fetch fresh content.

Default cache lifetime is set to 1 hour.

Done!