WordPress.org

Ready to get started?Download WordPress

Forums

Mini Loops
Order by Custom Field (3 posts)

  1. mklar
    Member
    Posted 2 years ago #

    Hi Kailey
    How would I tell Mini Loop to order my post via the entries in a custom field? I was nosing around the helpers.php file but got in a little over my head!
    Thanks,
    Mike

    http://wordpress.org/extend/plugins/mini-loops/

  2. Kailey (trepmal)
    Volunteer Mod & Reviewer
    Plugin Author

    Posted 2 years ago #

    Meta/Custom Field order support is coming up in the next release (v1.1)!

    You can get a head start by downloading the Dev Release: http://wordpress.org/extend/plugins/mini-loops/download/

    If you do try it out, please let me know if you find any bugs.

  3. chenryhen
    Member
    Posted 2 years ago #

    Hi Kailey - I just upgraded my plugin (thanks!). Is there an example for the custom field ordering? I'm a little confused by the documentation.

    orderby=date
    Order: Ascending (good for order by title) or Descending (good for order by date)
    
    order=DESC
    Meta Key for ordering: If order by = meta value, specify a key
    
    meta_value=some_key

    So if I had a custom field with integers called "custom_order", I would put in my short tag "orderby=meta meta_value=customer_order" ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags