• Resolved tiki11

    (@tiki11)


    Hi — I am sure this is an easy fix, but I just can’t seem to figure it out! I am trying to make the name of my blog in the threattocreativity theme link back to my main homepage. Right now if you mouse over, it changes colors but doesn’t link to anything. Can’t figure out where in the header file to add the link to save my life! Can anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • There are literally thousands of WordPress themes – which means that many people won’t be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

    Thread Starter tiki11

    (@tiki11)

    Just realized that, esmi, thanks!

    Find the header.php template file in your Theme (here it is in SVN).

    Change this line:

    <a href="<?php home_url('/'); ?>"><?php bloginfo('name'); ?></a>

    …to this:

    <a href="<?php echo home_url('/'); ?>"><?php bloginfo('name'); ?></a>

    The problem is that the home_url() template tag returns, rather than prints, the URL. So, you need to echo it.

    Thread Starter tiki11

    (@tiki11)

    It works! Thanks so much, Chip, this was driving me crazy! Much appreciated!

    Glad to help. ??

    (p.s. be sure to mark the topic as “Resolved”)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Making Blog Title a Link’ is closed to new replies.