我刚刚更改了 class-wc-frontend-scripts.php 文件的这一部分,该文件可在 Woocommerce 的“includes”文件夹中找到:
'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
)
),
如何将其转移到儿童主题?
撒科打诨