PHP code for h1 optimisation with logo
-
I am trying to improve the SEO of my website http://www.frenchtouchmusic.com
The h1 of the blog is an image and doesn’t have a html text. Here is the code that is in my header:<div class="logo"> <?php if ($theme->get_option('themater_logo_source') == 'image') { ?> <h1><a href="<?php echo home_url(); ?>"><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a></h1> <?php } else { ?> <?php if($theme->display('French Touch Music - French House and Electronic Music News')) { ?> <h1 class="site_title"><a href="<?php echo home_url(); ?>"><?php $theme->option('site_title'); ?></a></h1> <?php } ?> <?php if($theme->display('site_description')) { ?> <h2 class="site_description"><?php $theme->option('site_description'); ?></h2> <?php } ?> <?php } ?> </div><!-- .logo -->
`
How could I change the php code to keep the logo and get also a html h1?
Cheers.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘PHP code for h1 optimisation with logo’ is closed to new replies.