![]() |
Please assist me to change wordpress header
ok. On one of my blogs, I got a graphic header, so, I am not using the blog title option in the admin, and left it blank because I don't want worpress writing text over my graphic header. Below, is the code in header.php for the header of the header. This is the code for that text used in title options, & this code links the text to home. What I'd like to do is have the graphic image link to home. How do I do this? Thank you.
<div id="header"> <div id="headerimg"> <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1> |
this is the info to call the header image, so I need to remove name property from above code & incorporate this, so that the header image itself is linked to home? I'm not sure how to close this string
<?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif |
<div id="header">
<div id="headerimg"> <h1><a href="<?php echo get_settings('home'); ?>"> <?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif</a></h1> something tells me this isnt closed properly? |
Here ya go...
Code:
<div id="header"> |
Quote:
Nope, this did not work. |
Do you know HTML?? Because what you tried didn't work obviously because it wasn't done properly. You didn't wrap the url of the image inside an image tag.
|
Quote:
|
Quote:
of course I know html, and re read the question.. I am not trying to add an image.... read more carefully... |
Remove the css which places the image and just modify the header as needed with the code I provided. There is no way to link objects using just css.
|
why so complicated, i just put in the image with good old html code and link it to www.mydomain.com...
|
Quote:
<div id="headerimg"> <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1> THIS does NOT place the header!!! This CALLS info... every blog has a title & sometimes description, in the header. That title is always linked to (home). this is the code that links it. In this case, I want the header image itself to be linked. adding img src ADDS an image. THINK before responding. NOBODY said anything about linking anything in CSS!!!!! |
You're a moron. You talk shit to people helping you? You know what...I told you EXACTLY how to fix your problem, but you're too ignorant to recognize YOUR ERRORS. Have a nice day, newbie.
|
And just to prove that it works just like how you want it, just take a peek at my asian blog. :)
|
Quote:
talk shit?? when, where. learn how to read!! |
Quote:
|
nice drama
|
| All times are GMT -7. The time now is 04:31 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123