Support » Plugin: JSON API » [Plugin: JSON API] Order recent posts by meta_value_num

  • Hi all,

    I’m trying to use the JSON API with the following query:

    /api/get_recent_posts/?dev=1&custom_fields=Views&order=desc&orderby=meta_value_num&meta_key=Views

    My posts have a “Views” custom field but the meta_value_num doesn’t seem to be recognised by this plugin.

    Any ideas?

    Thanks,

    Jack

    http://wordpress.org/extend/plugins/json-api/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: JSON API] Order recent posts by meta_value_num’ is closed to new replies.