Skip to content

Gallery & Carousel

The W theme extends the stock wordpress gallery shortcode with some nice embellishments.

Theme Documentation

Shortcode


[gallery size="full" uw_carousel="true" uw_carousel_fullwidth="false" uw_carousel_captions="true" columns="1" ids="comma_separated_ids_of_photos" orderby=""]

Gallery Mode Attributes

Options used from Gallery dialog (Add Media button, Create Gallery, select multiple images, click Create New Gallery button):

  • Link To: Attachment Page, Media File, None. (Default: Attachment Page)
  • Columns: 1-9 (Default: 3) Note: some column layouts are adjusted for mobile on smaller screen sizes
  • Random Order: Check to enable random order (Default: disabled)
  • Size: Ideally, always use Full Size. (Default: Thumbnail)
  • Disable space between images: Enable if you do not want the spacing gap between images. (Default: disabled)

Carousel Attributes

Make sure to add captions to your images in the Description field of each media item!

Options used from Gallery dialog:

  • Random Order: Check to enable random order (Default: disabled)
  • Size: Ideally, always useĀ Full Size. (Default: Thumbnail)

W Theme attributes:

  • Enable carousel: Required. Must be checked to enable carousel. (Default: disabled)
  • Enable full-width: Check to enable full-width carousel. Note: Make sure to use on a page without a sidebar! (Default: disabled)
  • Enable simple captions: Check to enable black text on a white background, below image. Default captions are white text with purple background over image. (Default: disabled)