WordPress.org

Forums

Promotion Slider
Showing all images rather than displaying categories (2 posts)

  1. tompumford
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/plugins/promotion-slider/

  2. Micah Wood
    Member
    Plugin Author

    Posted 1 year ago #

    @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"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Promotion Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.