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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-03-2006, 05:31 PM   #1
spacedog
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>
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:39 PM   #2
spacedog
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
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:41 PM   #3
spacedog
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?
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:49 PM   #4
Nookster
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>
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:50 PM   #5
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by spacedog
<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?

Nope, this did not work.
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:52 PM   #6
Nookster
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.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:53 PM   #7
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by Nookster
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>
thank you, but the image is already in place. This will just end up placing a second header image. It needs to be accomplished without adding the image, because the image is already placed by the .css
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:55 PM   #8
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by Nookster
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.

of course I know html, and re read the question.. I am not trying to add an image.... read more carefully...
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:55 PM   #9
Nookster
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.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 05:59 PM   #10
nico-t
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...
nico-t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 06:01 PM   #11
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by Nookster
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.
<div id="header">
<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!!!!!
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 06:03 PM   #12
Nookster
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.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 06:06 PM   #13
Nookster
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.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 06:06 PM   #14
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by Nookster
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.
who the fuck is talking shit asshole, you're not even getting what I'm saying.


talk shit?? when, where. learn how to read!!
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 06:12 PM   #15
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Quote:
Originally Posted by spacedog
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!!!!!
Your use of exclamation points says you're talking shit. Know internet lingo? Last time I try and help someone. Geez.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2006, 07:26 PM   #16
John69
Confirmed User
 
Join Date: Sep 2005
Posts: 942
nice drama
John69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.