|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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> |
|
|
|
|
|
#2 |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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 |
|
|
|
|
|
#3 |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
<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? |
|
|
|
|
|
#4 |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Here ya go...
Code:
<div id="header">
<div id="headerimg">
<a href="<?php echo get_settings('home'); ?>"><img src=<?php bloginfo('stylesheet_directory'); ?>/images/tt_headerimg.gif border=0></a>
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
#5 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
Nope, this did not work. |
|
|
|
|
|
|
#6 |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
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.
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
#7 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
of course I know html, and re read the question.. I am not trying to add an image.... read more carefully... |
|
|
|
|
|
|
#9 |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
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.
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
#10 |
|
emperor of my world
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
|
why so complicated, i just put in the image with good old html code and link it to www.mydomain.com...
|
|
|
|
|
|
#11 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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!!!!! |
|
|
|
|
|
|
#12 |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
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.
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
#13 |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
And just to prove that it works just like how you want it, just take a peek at my asian blog.
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
#14 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
talk shit?? when, where. learn how to read!! |
|
|
|
|
|
|
#15 | |
|
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Quote:
__________________
The Best Affiliate Software, Ever. |
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Sep 2005
Posts: 942
|
nice drama
|
|
|
|