I think it is because all slides will show when nothing, or incorrect category or slider is entered. You are using the ‘ID’ for which purpose is to allow a CSS style.
I am having the same problem. I was unable to select a category on the promotions page for some reason. Link to screenshot http://www.antennaengineering.co.uk/nocats.png so I went a different route and created posts where I could choose a category but still no joy. Link to screenshots http://www.antennaengineering.co.uk/shortcodecat.png, http://www.antennaengineering.co.uk/postcategoryselected.png.
It shows all posts in the first slider I created then just the selected ones in the latest slider it created.
Please Help
As per the Forum Welcome, please post your own topic.
@ludodesign & @tompumford,
@raincity (aka Kelly) is right. The id attribute only sets the HTML attribute for the slider. If you want to limit what slides appear in a slider, you would use categories (aka Sliders) for that.
To assign a promotion to a category, go to ‘Promotions’ => ‘Add New’, or edit an existing promotion. On the promotion edit screen, you will see a box to the right titled ‘Sliders’. Select one or more existing sliders, or click the ‘+ Add New Slider’ link to create a new one. Then, save your promotion.
Next, fetch the slug for the slider you want to display. Just go to ‘Promotions’ => ‘Sliders’ and find the name of the slider you want to display. Look in the ‘Slug’ column and copy that.
Finally, when creating your shortcode, use the slug you copied as the ‘slider’ attribute, like so:
[promoslider slider="my_slider"]