I am currently using the brilliant NHP theme framework, but I'd like to add the functionality to only display an element if a certain theme option field has data entered into it.
According to the wiki, the theme options can be displayed using the following methods:
<?php $options = get_option('option_name'); ?>
<?php echo $options['unique_id']; ?>
Previously with custom fields I have used this to achieve what I want:
<?php $blah1 = get_post_meta($post->ID, 'blah_blah_blah', true); if (!empty($blah1)) : ?>
But I don't know how to get this to work with the theme options call.
Can anyone help please?