trepmal / mini-loops

WordPress plugin. Provides widget and shortcodes to display posts. https://wordpress.org/plugins/mini-loops/
5 stars 2 forks source link

Clearer documentation/examples for ordering by meta keys #2

Closed thejamescollins closed 8 years ago

thejamescollins commented 11 years ago

I found it quite confusing when trying to sort a mini loop using the values of a postmeta custom field.

This PR updates the documentation to explain how to order by a custom field value, either using alphabetical sorting or numeric sorting.

See http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters for more details.

You can see what this looks like by going to http://wordpress.org/plugins/about/validator/ and entering https://raw.github.com/om4james/mini-loops/orderbymeta/readme.txt in the readme URL field.

thejamescollins commented 11 years ago

Hi @trepmal, do you have any plans to accept this pull request?

I think it would be useful to your users if this documentation was clarified.

Thanks for the great plugin :)

James

thejamescollins commented 8 years ago

Thanks for including this change in 464c5e74d087c61f146c7e58e16bfb9d04241a43 (v1.3 of the plugin).