All-Access Pass

$129/yr

$99/yr
for a limited time

Get all of our music themes and plugins for one low price. Perfect for bands, solo musicians, songwriters, and anyone that manages websites for people who make music.

Learn More Subscribe Now

Simple Photo Albums

Simple Photo Albums turns a group of native gallery shortcodes into photo albums with cover images and allows for advanced integration with scripts like Jetpack’s Carousel or Swipebox.

Usage

Wrap a group of [gallery] shortcodes with the [simple_photo_album] shortcode:

[simple_photo_album]
[gallery ids="1,2,3"]
[gallery ids="4,5,6"]
[gallery ids="7,8,9"]
[/simple_photo_album]

Each gallery becomes an album and requires clicking through to see the actual gallery itself. This example will render the same as [gallery ids="1,4,7"], which admittedly isn’t very useful.

However, there are a few attributes that may be beneficial and things really shine when paired with third-party scripts like Jetpack’s Carousel or Swipebox — native support is included for both (select one on the Media → Settings screen).

Galleries within the album shortcode may include a gallery_link attribute to link the cover image to an arbitrary permalink when a third-party script isn’t being used:

[gallery ids="1,2,3" gallery_link="http://example.com/gallery-one/"]

Cover Images

By default the first image in each gallery shortcode is used as its cover image and will be included when the gallery is viewed. A manually defined cover can be passed as an additional attribute:

[gallery ids="1,2,3" cover="25"]

Covers can be removed from the galleries entirely using the exclude_covers attribute on the album shortcode:

[simple_photo_album exclude_covers="1"]

Album Display

Any display-related attributes that can be used on native gallery shortcodes can also be used on the album shortcode to modify its appearance (itemtag, icontag, captiontag, columns, size).

[simple_photo_album columns="4"]

Additional Resources