Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘How to sort Sitewide Gallery’ is closed to new replies.
This topic is: not resolved
Hello, how do I sort the sitewide listing of all galleries by alphabetical order?
I have tried in functions.php but it does not work:
function buddydev_modify_media_order( $args ) {
$args[‘orderby’] = ‘title’;
return $args;
}
add_filter( ‘mpp_main_media_query_args’, ‘buddydev_modify_media_order’ );
Closing it in favour of https://buddydev.com/support/forums/topic/how-to-sort-sitewide-gallery-2/
Regards
Brajesh
The topic ‘How to sort Sitewide Gallery’ is closed to new replies.