Last active
March 18, 2022 05:31
-
-
Save faurelia/e9d2b83daae3b3e9b434c0e0ff4803ee to your computer and use it in GitHub Desktop.
Revisions
-
faurelia revised this gist
Mar 18, 2022 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,17 @@ <?php // options // array( // 'rtl' => is_rtl(), // 'animation' => 'slide', // 'smoothHeight' => true, // 'directionNav' => false, // 'controlNav' => 'thumbnails', // can be boolean // 'slideshow' => false, // 'animationSpeed' => 500, // 'animationLoop' => false, // Breaks photoswipe pagination if true. // 'allowOneSlide' => false, // ) add_filter( 'woocommerce_single_product_carousel_options', 'update_woo_flexslider_options' ); function update_woo_flexslider_options( $options ) { -
faurelia revised this gist
Mar 18, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ <?php add_filter( 'woocommerce_single_product_carousel_options', 'update_woo_flexslider_options' ); function update_woo_flexslider_options( $options ) { -
faurelia created this gist
Mar 18, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ add_filter( 'woocommerce_single_product_carousel_options', 'update_woo_flexslider_options' ); function update_woo_flexslider_options( $options ) { $options['controlNav'] = true; return $options; }