Sorting results from JSON-API on custom fields

Looking through the source code, this plugin maps the query variable orderby to the WP_Query argument of the same name, orderby.

What this means is that you should be able to do the following:
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&orderby=date_value

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)