Created
February 20, 2014 15:43
-
-
Save tomhemsley/9116608 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. | |
* | |
* This code will convert the list of tabs into an ordered drop down menu. Ideal if you have lots of slideshows set up! | |
*/ | |
function metaslider_max_tabs() { | |
return 5; // specify the number of tabs you want to see before converting to a dropdown | |
} | |
add_filter('metaslider_max_tabs', 'metaslider_max_tabs'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment