mpp_gallery_class( $class = ”, $gallery = null )
Prints the css class to be applied to current gallery.
Usage
1 | <div class="<?php mpp_gallery_class( 'awesome-gallery seriusly-awesome-gallery' ) ;?>"> ....</div> |
Parameters
$class (String) (Optional) – One or more css class to be added after the default classes.
$gallery (MPP_Gallery|int) (Optional) – Gallery object or id if used outside the loop.
Returns
It does not return any value.
Note:-
See MediaPress gallery loop on how to use it.
Changelog
- Since 1.0.0