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.
First, you will add the Feature to your Application.
After what you will see the following configuration page
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:
Otherwise, when not checked, queries will be displayed like “categories/folders”
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.
Let’s build our first query, here named “Technology”
The query builder fetched all available categories & pages from our previously configured WordPress, we selected “Tech” which contains 76 posts for our query.
And a page query (here Contact)
In the design section, you can upload backgrounds for the feature.
The settings section offer two options, the first is the card design alternative
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.