rem_single_property_slick_attrs
This filter is responsible for all the settings related to the Simple Gallery Slider, on the Single Property Page. We’re using the Slick library here.
Arguments
- Slick Settings [Array]
Default settings that we’re using are defined below
- arrows => true
- adaptiveHeight => true
Example
Now if you want to make this slider more interactive or enable more options, you can play with this filter. The following example code will make the single property page slider 3 images in a row and will also enable the bottom navigation dots.
You have to paste the following code inside the functions.php file of your theme to achieve this
add_filter( 'rem_single_property_slick_attrs', 'rem_custom_single_listing_slider', 10, 1 ); function rem_custom_single_listing_slider($settings){ $settings['dots'] = true; $settings['slidesToShow'] = 3; return $settings; }