Sorting results from JSON-API on custom fields

Is there any way, out of the box, to sort results from the JSON-API plugin based on values in custom fields? The request is paged, so the results will need to be sorted server-side. I have an http request along the lines of: http://www.example.com/wordpress/?json=get_author_posts&author_slug=user&post_type=custom &include=title,custom_fields&custom_fields=date_value&count=10&page=1 I’d like to sort on the custom field date_value, ideally … Read more

Slow REST API calls on self-hosted WordPress [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 3 years ago. Improve this question I’m using WordPress REST API to access some posts from an app we’re creating, but the API calls are really slow! … Read more

Show popular post in another php website via WP REST JSON API

I need to show popular & recent posts in another PHP web site under the same domain. Example: www.example.com -> main website (php, mysql) www.example.com/blog -> WordPress blog Need to show popular, recent posts of blog in the main website. Please note that blog and main website use two separate database. I decided to use … Read more