This shortcode is used to display the Recent Businesses slider.
It can be used anywhere within WordPress where shortcodes are supported, primarily be within the content of a WordPress post or page.
Example:
Attributes:
- rec_added_slider_ttl: (optional)
The title of this slider.
Default value: empty.
- 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.
- count: (optional)
Number of Businesses to display. If the number available published businesses is less than the number specified for this parameter, then all businesses will be displayed.
Default value: 10.
How to use it:
This shortcode can be added in one of 2 ways:
- Copy and paste the shortcode into the content area of a post or page, adding the suitable attributes.
- 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 ‘Recently Added Businesses’. After that, you’ll get to enable/disable the slider’s options (Slider Title, Navigation, Loop and Count).