Support » Themes and Templates » Hyperlink the site title to the homepage
2 years, 4 months ago
I am trying to hyperlink the site title to the home page. I”ve altered the CSS considerably, and the php files a little bit, this is the code from my header.php file, which I thought would do it, but it isn’t working:
<h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
My site isn’t live yet, so I can’t show the link.
If anyone has any guidance, I’d be endlessly thankful!!
I don’t understand. Why doesn’t the header link lead your to your home page by default? I use spun and I’ve never encountered this problem. This is only default behaviour.
2 years, 3 months ago
Are you talking about the image at top? A link would be helpful …