I'm building a theme and right now I have individual key:value sets and hard coded values in the theme-settings.php for setting up a front page slideshow. I would like to know if there's a way to setup an array in theme-settings.php for the form and have the number of slides be dynamic.
I have failed to find any examples of info files and theme-settings.php files that would include a setup for an array with a few default values to get the user started.
My objective is the themes setting form will have a 0 to many input for this data so the user can add and remove slides from the settings page rather than having to manually edit the theme-settings.php and theme.info.
I would like to have each slide in the array hold a string, image, url. I already have this hard coded in my theme-settings.php, but if I can let the user change all of this in the themes settings menu that would make life easy.