WordPress.org

Support

Support » Plugins and Hacks » Promotion Slider » [Resolved] Showing all images rather than displaying categories

[Resolved] Showing all images rather than displaying categories

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    @woodent

    @tompumford,

    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”]

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Showing all images rather than displaying categories’ is closed to new replies.
Skip to toolbar