1. Home
  2. Shortcodes
  3. Offers Slider

Offers Slider

This shortcode is used to display the offers slider.

It can be used anywhere within WordPress where shortcodes are supported, primarily be within the content of a WordPress post or page.

Example:

[wyz_offers nav="true" loop="true" autoheight="true"]

Attributes:

  • nav: (optional)
    Whether to enable or disable navigation for this slider.
    Accepted values: true, false.
    Default value: false.
  • loop: (optional)
    Infinitely loop the slides.
    Accepted values: true, false.
    Default value: false.
  • autoheight: (optional)
    If enabled, the slider will dynamically change its height to fit its content once you navigate between slides. Otherwise, it will take the height of the tallest slide available.
    Accepted values: true, false.
    Default value: false.




How to use it:

This shortcode can be added in one of 2 ways:

  1. Copy and paste the shortcode into the content area of a post or page, adding the suitable attributes.
  2. Using the visual composer, navigate to the page editor and choose to add element (the ‘+’ icon). Then click on the tab entitled ‘Wyzi Content’, from there choose ‘Offers’. After that, you’ll get to enable/disable the slider’s options (Navigation, Loop and Auto Height).

offers-1

offers-2

offers-3



Was this article helpful to you? Yes 1 No