BuddyDev

Search

Mediapress Add Media link

  • Participant
    Level: Initiated
    Posts: 4
    andrea on #16236

    Hi, I have a page where I have shortcode [mpp-show-gallery id=249]
    I would ask how add (or manage) a link to publish a new media.
    I have try with “> without result.
    Help! thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #16240

    Hi Andrea,
    I am sorry but it seems the link got mixed up.

    Do you want to allow users to upload to that gallery? Are you interesed in having a different flow for uploads than the default?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    andrea on #16245

    yes, i have a page with a shortcode [mpp-show-gallery id=xxx]. I want that the administrator can add media in this gallery directly from this page.
    I try with a href mpp_get_gallery_management_url( $component, $component_id ); without result.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #16247

    Hi Andrea,

    You can use something like this

    
    <a href="<?php mpp_gallery_add_media_url( $gallery_id );?>">Upload</a>
    
    

    Use the gallery id and it will work.

You must be logged in to reply to this topic.

This topic is: not resolved