Need some Help with a Header in Thesis, ASAP

1 replies
  • WEB DESIGN
  • |
hey Warriors

I need you help with a header in Thesis_18. It is linked to a homepage by default, I want to to be linked to a specific URL

How to do it?
A friend of mine gave me this code:
PHP Code:
/* Custom Header Image */
function add_header_image () {
echo 
"<a href=\"The-url-of-your-website/\" title=\"Your Blog Title\">
<img src=\"THE-URL-OF-YOUR-LOGO-GOES-HERE\" alt=\"Your Blog Title\" height=\"170\" width=\"528\" style=\"border:0px\" />
</a>"
;
}
add_action('thesis_hook_after_title''add_header_image'); 
that you add to custom_functions.php

but it doesn't work properly.

Do you know a simpler solution?

thanks!
#asap #header #thesis
  • You should download a free plugin called openhooks, in there you can insert code into any part of the theme without hassle. I tried to add opt-in forms before the post headline and after the post and I failed with manually adding it to the custom-functions.php but it worked flawlessly with the openhooks plugin. Just make sure to tick "execute php" below the box where you insert your code.
    Signature
    [ENDORSED BY LMC]
    Stop Building Backlinks The OLD Way, Use >THIS< Instead!


    >Let Me Build HIGH QUALITY Backlinks For You!<
    {{ DiscussionBoard.errors[3343161].message }}

Trending Topics