WordPress.org

Ready to get started?Download WordPress

Forums

Mini Loops
[resolved] Mini Loops documentation error: order_by vs orderby (3 posts)

  1. glenn-om4
    Member
    Posted 1 year ago #

    I've noticed that the ML documentation makes reference to both orderby and order_by - order_by is the one that works for ML

    So possibly the documentation could do with an update. This is the page: http://wordpress.org/plugins/mini-loops/other_notes/

    First reference:

    "Order By: What order the posts should be displayed in. Default: date

    [miniloop orderby=date]
    get_miniloops( array('orderby' => 'date' ) );"

    Second reference:

    "Here are the acceptable arguments and their default values:

    $args = array(
    'title' => __( 'Recent Posts', 'mini-loops' ),
    ... snip
    'order_by' => 'date',"

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

  2. James Collins
    Member
    Posted 1 year ago #

    I've submitted a pull request that implements this suggestion.

    Hopefully @trepmal will include this fix in the next release.

    James

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

    Posted 1 year ago #

    Thanks. Updated docs

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic