Order rtmedia (inspirebook) galery photos by Latest, Most popular, ect


#1

I want all users uploaded images to enter a home page gallery. I found the following shortcode works well, but I would also like to add a sort order option to sort by most recent, most popular ect. Is there any way to do this with short code? If not, would we need to make custom PHP for it? Are there any snippets of PHP or hints about how to get started with this?

[rtmedia_gallery global=“true” media_type=“photo”]


#2

Hello @goraeneaewr,

For sorting media gallery, you can use rtMedia Sorting plugin.

You can also read more about gallery shortcode here

Thank you.


#3

You can find out product here

Thanks.


#4

Thanks, I purchased this and it is well worth the money!


#5