Hello. I'm trying to upload a logo to my website. I have to replace <h1 id="logo"></h1> to <?php theme_logo(); ?>
The code is:
?>
<<?php echo $tag; ?> id="logo">> <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('description'); ?>" /></a></<?php echo $tag; ?>>
When I change it the code is:
?>
<<?php echo $tag; <?php theme_logo(); ?> <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('description'); ?>" /></a></<?php echo $tag; ?>>
After changing the code when I enter to my site it says there is a syntax error, unexpected <
Could you tell me please what is wrong with the changed script? Thank you