BuddyDev

Search

want to display gallery according to type like video in different section

  • Participant
    Payal jhamta on #9061

    want to display gallery in home page according to type like video in different section photo in different section

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #9062

    Welcome to BuddyDev forums Payal.

    Are you familiar with WP_Query? If yes, then you can do the above task easily using MPP_Gallery_Query

    Here is the documentation
    https://buddydev.com/mediapress/topics/api-reference/core/mpp_gallery_query/

    Inside the loop, you can use any of the gallery template tags. Please see loop-gallery.php for the template tags.

    Hope that helps.
    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved