php tags within php tags
-
I’m not sure how to echo a theme option in this code.
<?php if (!is_page('72')) { echo "<div class=\"feat_top\"></div> <ul class=\"feat\"> <div class=\"feat_inner\"> <h4 class=\"largetext\">Title</h4> <?php echo get_option('sidetext'); ?> //this one </div> <div class=\"feat_bottom\"></div>"; } ?>
the “sidetext” option echoes blank. Is there a way to make it work?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘php tags within php tags’ is closed to new replies.