How to create a category slider

The Banner Management for WooCommerce plugin lets you create a category slider and place it on a page or post with a shortcode.

First add product categories with thumbnail images, then create a category slider under Slider Settings, save it, and copy the shortcode.

You can create more than one category slider, each with its own settings, and paste the shortcode anywhere on your site.

How to set it up

You create category sliders in Banner Management, under the Slider Settings tab.

Go to: Dotstore Plugins > Banner Management > Slider Settings

After the slider is created, you can filter which categories appear, change their order, set the slider mode, choose a layout preset, and set the thumbnail shape. See How to filter categories in the category slider, How to change the order of slider items in the category slider, How to set slider mode in the category slider, How to set layout preset in the category slider, and How to set thumbnail shape in the category slider.

Step 1: Add a product category

If the categories you want in the slider do not exist yet, add them first:

  1. Go to Products > Categories.
  2. In the left section, fill in the fields for a new category.
  3. Upload a thumbnail image for the category, then add the category.
Product categories screen in the WordPress admin
Figure - Admin dashboard → Products → Categories

Step 2: Add a new category slider

  1. Go to Dotstore Plugins > Banner Management.
  2. Open the Slider Settings tab.
  3. On the All Category Sliders screen, click Add New.
Slider Settings tab with the Add New button for category sliders
Figure - Slider Settings → Category Slider → Add New

Step 3: Configure and save the slider

Configure your slider settings, then click Save Slider.

Category slider settings screen with the Save Slider button
Figure - Configure slider settings and save it

Step 4: Copy the slider shortcode

Copy the category slider shortcode from the shortcode box. The box includes a Page or Post Include shortcode, such as [wcbm_category id="116"]   , and a Template Include PHP snippet if you want to add the slider in a theme template.

Copy Shortcode box with page or post and template include options
Figure - Slider shortcode box

Step 5: Paste the shortcode on a page or post

Paste the copied shortcode into a post, a page, or anywhere else on your site where shortcodes can be used.

Category slider shortcode pasted into a WordPress page or post
Figure - Add slider shortcode on any page or post

What the customer sees

On the page or post where you added the shortcode, the customer sees the category slider on the storefront.

Category slider on the storefront
Figure - Category slider front side view


Pro Tips

  • Upload a thumbnail for each category so the slider has an image to display
  • Copy the Page or Post Include shortcode for a page or post, and use the Template Include snippet only if you are adding the slider in a template file
  • You can create numerous sliders, each with different settings, for different pages
  • After you save the slider, use How to filter categories in the category slider if you want only selected categories to appear

Common Use Cases

Here are some popular ways store owners use this feature:

Create a category slider, copy the shortcode, and paste it on your homepage so customers can browse categories quickly.

2. Add a Category Slider to a Landing Page

Paste the shortcode on a campaign or landing page to highlight the categories in that promotion.

3. Create More Than One Slider

Add another category slider with different settings and place each shortcode on a different page.


FAQs

1. Where do I create a category slider?

Go to Dotstore Plugins > Banner Management, open the Slider Settings tab, and click Add New on the All Category Sliders screen.

2. How do I display the slider on my site?

Copy the shortcode from the shortcode box and paste it into a page or post. You can also use the Template Include PHP snippet in a theme template file.

3. Do I need to add categories first?

Yes, the slider displays your product categories. Add or edit categories under Products > Categories, and upload a thumbnail image for each category you want to show.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.