BuddyDev

Search

[Resolved] MediaPress gallery view sort order

  • Participant
    Level: Master
    Posts: 413
    Venutius on #18858

    Currently my galleries show the newest media at the bottom of the list. This means any user trying to see the latest content in a large gallery will have to click to the last page in order to view it. I’d like the newest content to be at the top but I can’t see an option for this?

  • Keymaster
    (BuddyDev Team)
    Posts: 21291
    Brajesh Singh on #18862

    Hi George,
    Please search the forum for reordering gallery. I and Ravi have posted solution earlier for the same.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 413
    Venutius on #18864

    I tried searching for sort and sortby but no joy.

  • Keymaster
    (BuddyDev Team)
    Posts: 21291
    Brajesh Singh on #18871

    Hi George,
    No problem.

    You can use the code from here

    https://buddydev.com/support/forums/topic/order-media-by-newest-first-config-switch/#post-12956

    Also, you can replace ‘mpp_main_media_query_args’ with ‘mpp_main_gallery_query_args’ to make it work for gallery.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 413
    Venutius on #18874

    Thanks Brajesh, that worked great!

  • Keymaster
    (BuddyDev Team)
    Posts: 21291
    Brajesh Singh on #18878

    You are welcome.

The topic ‘ [Resolved] MediaPress gallery view sort order’ is closed to new replies.

This topic is: resolved