View Product Page

Shortcode

The shortcode [bestsellers_slider] allows adding a slider with all the best sellers of your shop on any page of your site. To enter the shortcode, all you have to do is to click on the dedicated icon that you find in the WordPress editor (visual mode).

bestseller slider

The available parameter is:

  • limit: this allows setting the max number of Best Sellers shown in the slider.

Example > [bestsellers_slider limit=20]

Your page will now contain a slider like the one in this image:

bestseller slider

You can edit the title shown just before the slider starts moving. Edit the text in the plugin settings panel, under the option “Slider Title”.

slider title

Parameters of slider

These are all options of the shortcode:

  • animate | possible values ‘yes’ or ‘no’ (default ‘yes’)
  • delay | number of milliseconds after which the animation starts (default 6000)
  • category | the category ID of best-seller products you want to show (default is empty, to show all products of all categories)
  • range | you can override the value of the range set in YITH > Best sellers > settings
  • title | you can override the title slider you set in YITH > Best sellers > settings