In have this bit of code in my header and am having a terrible time getting it to work. The variable option_one is supposed to be assigned a text value that is pulled from a wordpress theme options page. I am new to PHP and am just assuming I am missing some brackets or squiggles somewhere to allow more php to be used to assign the variable.
I can't get option_one to be assigned the text that is pulled from aa_super_option.
<?php
$option_one = "<?php echo get_option('aa_super_option'); ?>";
if ($option_one =="no") { ?> ........
Any help is greatly appreciated!!!
I can't get option_one to be assigned the text that is pulled from aa_super_option.
<?php
$option_one = "<?php echo get_option('aa_super_option'); ?>";
if ($option_one =="no") { ?> ........
Any help is greatly appreciated!!!