Users can sort their media in ascending (ASC) and descending (DESC) order based on Upload Date, Size and Titles.
By default rtMedia Sorting provides sort options to sort media by Title, Upload Date and Media Size. More sorting option like sort by views, likes, comments and rate has been added for media gallery rendered via gallery shortcode.
Note: This option is available in rtMedia Sorting only.
You can use
sort_parameters parameter in gallery shortcode and can specify sort options.
Use following shortcode to provide view and like sort options:
[rtmedia_gallery global=true sort_parameters="view,like"]
Use following shortcode to provide view, like and rate sort options:
[rtmedia_gallery global=true sort_parameters="view,like,rate"]
Following are the allowed values for
sort_parameters. Use comma separated values for multiple sort options.
[rtmedia_gallery global=true media_type=photo media_title=false sort_parameters="view,like,rate"]