lib/lightbox.php
Zurb Foundation Lightbox Integration
- Package
- ncp\wp\themes\planet_foundation
- Since
- Planet Foundation 1.0.0
Functions

pf_post_gallery(string $value, string $attr) : string
Replaces any wordpress gallery shortcodes with Zurb Foundation's Lightbox.
Columns and links gallary options are not supported
ParametersName | Type | Description |
---|---|---|
$value | string | HTML to filter, not used |
$attr | string | string of shortcode attributes |
Type | Description |
---|---|
string | HTML for gallery lightbox |
- Link
- Zurb's Foundation Clearing Lightbox
- Since
- Planet Foundation 1.0.0