WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Order recent posts by meta_value_num (2 posts)

  1. Jack Lenox
    Member
    Posted 2 years ago #

    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/

  2. Jack Lenox
    Member
    Posted 2 years ago #

    *bump*

    Can anyone help here?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags