Skip to content

Instantly share code, notes, and snippets.

@braddalton
Created December 12, 2023 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/51296ff677334e1af0a23efb0587f965 to your computer and use it in GitHub Desktop.
Save braddalton/51296ff677334e1af0a23efb0587f965 to your computer and use it in GitHub Desktop.
WooCommerce Flex Slider for Product Images https://wpsites.net/?p=114641
$options['rtl'] = true; // Example: Enable right-to-left support
$options['animation'] = 'fade'; // Example: Change animation type to fade
$options['smoothHeight'] = false; // Example: Disable smooth height transition
$options['directionNav'] = true; // Example: Enable direction navigation arrows
$options['controlNav'] = 'numbers'; // Example: Use numbers for navigation
$options['slideshow'] = true; // Example: Enable slideshow
$options['animationSpeed'] = 800; // Example: Change animation speed to 800 milliseconds
$options['animationLoop'] = true; // Example: Allow animation looping
$options['allowOneSlide'] = true; // Example: Allow carousel with only one slide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment