Gallery - Shortcodes

Albums

[um_gallery_albums]

Use the albums shortcode to show a curated list of albums.

Filtering by Users

Default: none - Shows all
[um_gallery_albums user_id="1"] Use user_id getting an album for user with the ID 1
[um_gallery_albums user_id="1,2,44"] Separate IDs by commas to select multiple users

Filter by Usernames

Default: none - Shows all
[um_gallery_albums username="admin"] Use user login/username getting to get album for that user
[um_gallery_albumsusername="admin,john,sarah"] Separate usernames by commas to select multiple users

Filtering a specific album

Default: none - Shows all
[um_gallery_albums id="1"] Use id getting an album for user with the Album ID 1
[um_gallery_albums id="1,2,44"] Separate Album IDs by commas to select multiple albums

Limiting amount

[um_gallery_albums amount="15"] Use the attribute amount to limit the number albums to be displayed. Default: 100

Still need help? Contact Us Contact Us