WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Hyperlink the site title to the homepage (3 posts)

  1. majohnson
    Member
    Posted 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:

    <div class="site-branding">
    <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>
    </div>

    My site isn't live yet, so I can't show the link.
    If anyone has any guidance, I'd be endlessly thankful!!

  2. quas
    Member
    Posted 3 months ago #

    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.

  3. MzBeanz
    Member
    Posted 2 months ago #

    Are you talking about the image at top? A link would be helpful ...

Reply

You must log in to post.

About this Theme

About this Topic