Documentation

Frontend Gallery Slider For ACF

Getting Started with Frontend Gallery Slider For Advanced Custom Field

To add a new Image in Frontend Gallery Slider For Advanced Custom Field you just need to follow few steps.

  • 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 [acf_gallery_carousel] OR [acf_gallery_slider] to a page or post content.

How to Display and Shortcode

Frontend Gallery Slider For Advanced Custom Field is very simple. Just add the following shortcode on any page to display the image slider
[acf_gallery_carousel] – ACF Gallery Carousel Slider
[acf_gallery_slider] – ACF Gallery Slider

You can also use template code.
<?php echo do_shortcode('[acf_gallery_carousel]'); ?>
<?php echo do_shortcode('[acf_gallery_slider]'); ?>

Complete Shortcode Parameters

ACF Gallery Slider Shortcode
[acf_gallery_slider acf_field="gallery" autoplay="true" slide_to_show="3" slide_to_scroll="1" autoplay_speed="3000" speed="300" arrows="true" dots="true" show_caption="true"]
ACF Gallery Carousel Shortcode
[acf_gallery_carousel acf_field="gallery" autoplay="true" autoplay_speed="3000" speed="300" arrows="true" dots="true" show_caption="true" slide_to_show="3" slide_to_scroll="1"]
Shortcode Parameters For ACF Gallery Carousel [acf_gallery_carousel]
  • Show Gallery Field:
    [acf_gallery_carousel acf_field="gallery"]
    Paste the ACF Gallery Field Name

  • Slide To Show:
    [acf_gallery_carousel slide_to_show="true"]
    Controls number of slide

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

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

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

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

  • Show Caption:
    [acf_gallery_carousel show_caption="true"]
    Display ACF Gallery Slider Caption OR not. By default value is “True”. Options are “ture OR false”.

Shortcode Parameters For ACF Gallery Slider [acf_gallery_slider]
  • Show Gallery Field:
    [acf_gallery_slider acf_field="gallery"]
    Paste the ACF Gallery Field Name

  • Slide To Show:
    [acf_gallery_slider slide_to_show="true"]
    Controls number of slide

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

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

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

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

  • Show Caption:
    [acf_gallery_slider show_caption="true"]
    Display ACF Gallery Slider Caption OR not. By default value is “True”. Options are “true OR false”.