Custom theme control panel with SELECT list, how?
-
I’ve got the following code and need to add a select list to allow users to pick a theme color option. I need the default option to be selected if no option has been previously selected. Otherwise, I need it to reflect the last selected option…
$themename = "mytheme_wp"; $shortname = "mt"; $options = array ( array( "name" => "My Theme Options", "type" => "title"), array( "type" => "open"), array( "name" => "Theme Color", "desc" => "choose a theme color from the list", "id" => $shortname."_theme_color", "type" => "select", "std" => "my default option"), array( "type" => "close") );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom theme control panel with SELECT list, how?’ is closed to new replies.