Description

Use this filter to modify the JavaScript properties used to initiate the slideshow.

Meta Slider exposes most of each slideshows options in the slideshow settings, but there are some specialist options that are offered by each slideshow library that you cannot change through the Meta Slider interface. This filter allows you to change existing properties or add new ones.

For a full list of available properties, see Flex Slider Properties, Nivo Slider Properties (scroll down to ‘Play with settings’), Coin Slider Properties (scroll down to ‘List of all options’), Responsive Slides Properties (scroll down to ‘Options you can customise’)

Important:

  • To create/alter an integer property value, omit quotes
  • To create/alter a string property value, use single or double quotes
  • To create or add to a function, assign the value to an array (see first example)

{type} can be flex, coin, responsive or nivo.

Parameters

$options

(array) (required) Slideshow properties

$slider_id

(array) (required) Slideshow ID

$settings

(int) (required) Slideshow settings

Examples

Altering Flex Slider Properties

The above code will result in the following output: