Tagged: mpp show-gallery
Hello Matteo,
Thank you for posting. Please take a look to the following reference and let me know if you needs furthur assistance.
https://buddydev.com/mediapress/shortcodes/mediapress-gallery-listing-shortcodes/#user-parameters
Regards
RaviHi Ravi,
I have tried this shortcode but it displays just the thumbnail image of the gallery right?
I would like to display all the images directly of one defined gallery. It works with the gallery Id but that one is hard to set as variable since galleries are generated automatically in my site.Thank you again for great plugin and support!
Also I have tried creating a query
if ( $the_query->have_media() ) : <?php while ( $the_query->have_media() ) : $the_query->the_media(); ?> ..etc
$args= array($user_login);
For example but I am not confident that I could create a query that completely excludes unwanted users media … for example if I query by id (4) it would probably show also for user (14) and (40) I think. And by name the same problem appearHello Matteo,
Thank you for the acknowledgement. Are looking to show all media items for a given user?. If yes, Then you can use ‘[mpp-list-media]’ as a shortcode it has a parameter same as gallery i.e. “user_id” which will list all media of a given user. For complete reference:
https://buddydev.com/mediapress/shortcodes/mpp-list-media/#user-parameters
Please do let me know if it helps or not.
Regrads
Ravi
The topic ‘ [Resolved] mpp-show-gallery display by creator id’ is closed to new replies.