Usage
Check out our latest version howtos, tutorials and screencasts for step by step usage.
Firstly, be sure that you have wp_head(); function included into your WordPress theme header file otherwise the Fixedly Media Gallery won’t work.
Shortag
[fixedly-media-gallery]
Options
id – the ID of the gallery you want to insert (required)
template_id – overwrite the default gallery template (optional)
(e.g. if you would like to have same gallery on different pages with different template style)
1 – default, 2 – default_thumbnails, 3 – content_left, 4 – content_right, 5 – content_top, 6 – content_bottom, 7 – content_left_thumbnails, 8 – content_right_thumbnails, 9 – gallery
Examples
[fixedly-media-gallery id=”1″]
[fixedly-media-gallery id=”1″ template_id=”3″]
PHP Code
Here is the code if you want to add the gallery directly into your PHP template.
<?php if (function_exists('fixedly_media_gallery')) { print fixedly_media_gallery("1", "3"); } ?>
Another way to add gallery into your PHP templates is by using the function.
<?php print do_shortcode("[fixedly-media-gallery id="1"]");?>