BACK TO DIRECTORY

Zurb Foundation 5 Clearing Gallery

by ben.moody

5.0
(4 ratings)

Enhance WordPress gallery shortcode content with the Zurb Foundation Clearing lightbox. Just enable and all gallery shortcodes will use Clearing.

You can add a gallery just as you normally would including setting up the number of columns.

The plugin supports up to 6 columns for any gallery, it will fall back to 4 column grid for invalid values.

MOBILE: Note that the foundation mobile classes have already been added for each gallery size.
That said you can use the filters below to alter any foundation classes applied to the
block grid.

There are also a number of filters devs can use to alter output.

Verified contrib2dev project #9086f6999a63a347ba7a70c521d52222. Support this project on contrib2dev.com.

Filters

  • prso_found_gallery_large_class -> Foundation large class for grid block
  • prso_found_gallery_small_class -> Foundation small class for grid block
  • prso_found_gallery_image_caption -> Filter caption for each image in gallery
  • prso_found_gallery_li_class -> Filter class applied to each li item in block grid
  • prso_found_gallery_output -> Filter overall html output for gallery

Screenshots

Default Wordpress gallery in Foundation 5.

Default Wordpress gallery in Foundation 5.

Wordpress gallery using plugin, nice block grid there!

Wordpress gallery using plugin, nice block grid there!

Example of Clearing lightbox at work.

Example of Clearing lightbox at work.

Plugin Details

Active Installs
80
Total Downloads
3,989
Version
1.01
Requires WP
3.0
Requires PHP
Tested Up To
4.5.33
Added
2014-01-17
Last Updated
2016-04-14 1:44pm GMT

Ratings

5
4
4
0
3
0
2
0
1
0