I've used the following theme configuration code a few times, but for some reason, it is not working this time around:
in config.ini
; About Text
about.type = "textarea"
about.options.label = "About Text"
about.options.description = "Enter a description of your site. This text will be used on the mobile web homepage."
about.options.value = ""
in custom.php:
function mh_about($text=null){
if (!$text) {
$text =
get_theme_option('About Text') ?
get_theme_option('About Text') :
'foo';
}
return $text;
}
in index.php:
<?php echo mh_about();?>
Basically, it seems like $text is returning a null/false value, even though it is set in the theme options.
Are there any server-related reasons this might happen or am I just missing something obvious.
Thanks - E

