• Resolved wpblogwriter

    (@wpblogwriter)


    Hi,
    I haven’t seen any slider with such a function, so maybe, yxou like ti and implement it some day..

    In my case I have custom post types (having own URLs for sure) and there I want to display for each an individual slider. The pages are not built with Gutenberg, they are generated using a fixed template.

    So what would be cool would be something like:
    <?php
    $images = <array of images>;
    do_shortcode(“[smartslider3 slides=$images]”);
    ?>
    .. well something like that…

    To make it even more easy to work with, maybe
    do_shortcode(“[smartslider3 slides=$images template=1”]);

    where template corresponds to an empty slider but where all the settings can be taken from..

    Anyways, just an idea..

    WBW

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @wpblogwriter!

    This is already on our to do list, just our current system couldn’t work with it, as we are working from cache, meaning the slider is already done before it is published anywhere, so it couldn’t take data based on which page it is published on. But hopefully we can implement this soon!

    Thread Starter wpblogwriter

    (@wpblogwriter)

    Thank you for your quick and positive answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP: Dynamic Shortcode for generated slider’ is closed to new replies.