GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Please assist me to change wordpress header (https://gfy.com/showthread.php?t=571882)

spacedog 02-03-2006 05:31 PM

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 02-03-2006 05:39 PM

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 02-03-2006 05:41 PM

<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?

Nookster 02-03-2006 05:49 PM

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>

:winkwink:

spacedog 02-03-2006 05:50 PM

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.

Nookster 02-03-2006 05:52 PM

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.

spacedog 02-03-2006 05:53 PM

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>

:winkwink:

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 02-03-2006 05:55 PM

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...

Nookster 02-03-2006 05:55 PM

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.

nico-t 02-03-2006 05:59 PM

why so complicated, i just put in the image with good old html code and link it to www.mydomain.com...

spacedog 02-03-2006 06:01 PM

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!!!!!

Nookster 02-03-2006 06:03 PM

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 02-03-2006 06:06 PM

And just to prove that it works just like how you want it, just take a peek at my asian blog. :)

spacedog 02-03-2006 06:06 PM

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!!

Nookster 02-03-2006 06:12 PM

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.

John69 02-03-2006 07:26 PM

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