Enhancements of WordPress Gallery shortcode[wm_text_block]The theme adds 2 additional attributes into WordPress native
flexible– Set this to “1” for masonry style gallery layout. Setting of “0” (or leave it blank, or don’t set it at all) will display standard gallery layout (cropped images of same size).
class– This CSS class attribute will be applied on each gallery item container HTML element. You can set custom classes on gallery items, such as frames, removing margins and so on (see theme user manual for more info on additional classes).
[gallery ids="1,2,3,..." flexible="0/1" class="" /][/wm_text_block][/vc_column][/vc_row]
Updated on 2014-03-27T16:49:10+00:00, by .