I’m using mpp_list_gallery along with code in functions.php (which I got from another forum post) to show a grid of gallery thumbnails with usernames below the thumbnails. I’m wondering how the galleries are sorted and if it’s possible to give the users sorting options. Thanks.
Thank you for posting.
We support “order” and “orderbyy” options in teh gallery list shortcode. By default, it is sorted by date in descending order.
You can use the following options in the shortcode
[mpp-list-gallery order =’DESC’ orderby = ‘date’]
All the values for order/orderby supported in WP_Query are supported in the shortcode.
Hope that helps.
You must be logged in to reply to this topic.