Documentation

Meta Slider and Carousel with Lightbox

Getting Started with Meta Slider and Carousel with Lightbox

Meta Slider and Carousel with Lightbox adds ‘Gallery’ meta box to page and any custom post type which is publicly visible.

Screen shows “Gallery” meta box and all gallery images added
meta-slider-and-carousel-with-lightbox-gallery

  • Go to any page or post, Go to ‘Gallery’ click on Add Image(s)
  • Choose your desired images from WordPress media uploader, Drag & Drop Images and update.
  • Add [meta_gallery_carousel] OR [meta_gallery_slider] to page or post content.

How to Display and Shortcode

Display a Meta slider And Gallery Lightbox is very simple. Just add the following shortcode on any page to display image slider
[meta_gallery_carousel] – Gallery Carousel Slider
[meta_gallery_slider] – Gallery Slider

You can also use template code.

echo do_shortcode('[meta_gallery_carousel]');
echo do_shortcode('[meta_gallery_slider]');

Complete Shortcode Parameters

Gallery Slider Shortcode
[meta_gallery_slider slide_to_show="1" slide_to_scroll="1" autoplay="true" autoplay_speed="3000" speed="300" arrows="true" dots="true" show_title="true" show_caption="true"]
Gallery Carousel Shortcode
[meta_gallery_carousel slide_to_show="2" slide_to_scroll="1" autoplay="true" autoplay_speed="3000" speed="300" arrows="true" dots="true" show_title="true" show_caption="true"]
Shortcode Parameters
  • Show Title:
    [show_title="true"]
    Hide/Show image title. By default value is “true”. Values are “true” OR “false”.

  • Show Caption:
    [show_caption="true"]
    Hide/Show image caption. By default value is “true”. Values are “true” OR “false”.

  • Display number of images at time:
    [slide_to_show="2"]
    Display number of image in a slider.

  • Number of images slides at a time:
    [slide_to_scroll="2"]
    Controls number of images slide at a time.

  • Pagination and Arrows:
    [dots="false" arrows="false"]
    Hide/Show slider pagination and arrows. By default value is “true”. Values are true OR false.

  • Autoplay and Autoplay Speed:
    [autoplay="true" autoplay_speed="1000"]

  • Slider Speed:
    [speed="3000"]
    Control the speed of the slider.

Updated On 26 Oct 2016