Forked from tomhemsley/Meta Slider - Flex Slider - Move carousel 1 image at a time
Created
March 24, 2017 17:00
-
-
Save raulgroig/37642f8ed052e21009b3f1bd192753c4 to your computer and use it in GitHub Desktop.
This file contains 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 characters
/** | |
* INSTALLATION: this code should be pasted into your theme's functions.php file. | |
* | |
* Compatibility: Flex Slider. | |
*/ | |
function metaslider_flex_carousel_move($options, $slider_id, $settings) { | |
$options['move'] = 1; | |
return $options; | |
} | |
add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_carousel_move', 11, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment