Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Yes, it’s possible.

    Keep in mind that you’re required to fill in the field “Get post with this meta key”, otherwise it won’t work. It’s required by WordPress, not by this plugin.

    In other words, you can’t get posts, for example, under a certain category and order them by a custom field value (or “meta value”). Instead you have to grab posts with a certain custom field and order them with the custom field value (or “meta value”).

    Thread Starter jmtmurphey

    (@jmtmurphey)

    Thanks – I was afraid of that. What I need to do is get all the posts tagged a certain way and then order them by the last name field on the custom object. It seems like that should be something easy to do.

    Plugin Author Aldo Latino

    (@aldolat)

    Take a look at here:

    meta_value – Note that a meta_key=keyname must also be present in the query.

    Thread Starter jmtmurphey

    (@jmtmurphey)

    I am not a developer, so I don’t really understand what you are trying to point out.

    Thread Starter jmtmurphey

    (@jmtmurphey)

    I think I get it now – thanks for the quick response.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sort by a Custom Field’ is closed to new replies.