Astra/Spectra Pro post slider (Slick slider)

[ad_1]

Question for the Astra/Spectra experts here. I realize Spectra uses slick slider for its `post carousel`, but we’re wanting to use the “centerMode” option in Slick Slider.

Any ideas on the best way to use a filter in a child theme to enable centerMode?

I see there’s a filter called “uagb_slider_options” but looking for the best way to put this into a child theme.

I can see where the code is being set:
/plugins/spectra-pro/blocks-config/fremium-blocks/slider/block.php:98

The code setting the mode is in the extend_slider_options function and it’s using a filter.

I obviously don’t want to mess with the plugin directly.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer