• Resolved Matt Rose

    (@boswall)


    After seeing that others want to use the options without resorting to using the Classic editor to do so, I decided to do some digging. So for reference, here’s the options that you can use in the shortcode:

    id – ID of the carousel. Note: also wraps the carousel with ‘#soc-carousel-[id]’
    items – number of items you want to see on the screen. Default: 4
    navigation – show the navigation. Default: ‘true’
    single_item – haven’t figured this one out. Default: ‘false’
    slide_speed – delay between slides. Default: 300
    lazy_load – lazy load images. Default: ‘false’
    auto_height – auto change the height based on the image shown. Default: ‘true’

    So for example:
    [soc_slider_shortcode id="123" items=1 lazy_load="true"]
    will show 1 image per slide and lazy load the images.

    A shame that we couldn’t have the autoplay option or the ability to define anything from the shortcode.

    • This topic was modified 4 years, 8 months ago by Matt Rose.
Viewing 1 replies (of 1 total)
  • Hello @boswall,

    Sorry for the inconvenience. We have already added this thing in our pipeline and we will give this functionality in our next release.

    Thanks for your feedback.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Options for shortcode’ is closed to new replies.