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.
Wrap a group of
[gallery] shortcodes with the
[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/"]
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:
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).