Viewing 1 replies (of 1 total)
  • Plugin Author Gabor

    (@nextendweb_gabor)

    Hi! I’m sorry, but we don’t have this option (in the next version we will have something similar, just it will still take some time to come out with that).

    You could only do that to switch to a specific slide with javascript, like this for example: https://www.nextendweb.com/wiki/smart-slider-documentation/tips-tricks/#navurl
    But that’s not the best option, because the slider loads first, and the switching happens, when you see it, so if you want something like this, the best way you could do it is to rather duplicate your slider as many times, as many different first slides you want to have, change the first slide on all of them and use the sliders in the php code of your theme instead, where you could ask down based on something, that which one do you want to show:

    switch($starthere){
    	case 1:
    		echo do_shortcode('[smartslider2 slider="10"]');
    		break;
    	case 2:
    		echo do_shortcode('[smartslider2 slider="20"]');
    		break;
    	case 3:
    		echo do_shortcode('[smartslider2 slider="30"]');
    		break;
    	default:
    		echo do_shortcode('[smartslider2 slider="1"]');
    		break;
    }

    But the downside of this is, that it’s not a shortcode, and you need to put it into your theme, not into a page or post.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode to start at specific slide’ is closed to new replies.