如何在WooCommerce子主题中更改FlexSlider选项

问题描述

我刚刚更改了Woocommerce的“ includes”文件夹中可用的class-wc-frontend-scripts.php文件的这一部分:

'flexslider' => apply_filters( 'woocommerce_single_product_carousel_options',array(
        'rtl'            => is_rtl(),'animation'      => 'fade','easing'      => 'swing','smoothHeight'   => true,'directionNav'   => false,'controlNav'     => true,'slideshow'      => true,'touch'      => true,'animationSpeed' => 1200,'slideshowSpeed' => 3500,'animationLoop'  => true,// Breaks photoswipe pagination if true.
        'allowOneSlide'  => true,'prevText' => "<",//String: Set the text for the "previous" directionNav item
        'nextText' => ">",//String: Set the text for the "next" directionNav item
    )
),

如何将其转换为儿童主题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)