Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need header logo to link back to website
Old 11-09-2009, 02:49 AM Need header logo to link back to website
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Hi peoples.
I have a blog page at http://www.thai-discovery.com/blogs/ which I want to have the header banner link back to http://www.thai-discovery.com

Below is the folling header php code
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?><?php if(wp_title(''false)) { ?> | <?php ?><?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
<div id="headertext">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>
</div>
<div id="navbar">
<ul>
<?php if (is_home()): ?>
<li class="current_page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
<?php 
else : ?>
<li><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
<?php 
endif; ?>
</ul>
</div>
<hr />

Last edited by chrishirst; 11-09-2009 at 05:53 AM.. Reason: [php] [/php]delimeters added
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-09-2009, 05:48 AM Re: Need header logo to link back to website
Novice Talker

Posts: 10
Name: Eduards
Trades: 0
try change this
PHP Code:
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
to
<h1><a href="http://www.thai-discovery.com/"><?php bloginfo('name'); ?></a></h1>

Last edited by chrishirst; 11-09-2009 at 05:50 AM..
phpcoder848 is offline
Reply With Quote
View Public Profile Visit phpcoder848's homepage!
 
Old 11-09-2009, 07:46 AM Re: Need header logo to link back to website
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Thanks, but that did not seem to work
TheDon is offline
Reply With Quote
View Public Profile
 
Old 11-09-2009, 10:22 AM
Banned

Posts: 1
Name: gfdgfd
Trades: 0
thanks for info but I don't user they in my work,,
trying????
suiygfjn is offline
Reply With Quote
View Public Profile
 
Old 11-09-2009, 10:43 AM Re: Need header logo to link back to website
Junior Talker

Posts: 4
Trades: 0
Here you go
PHP Code:
<a href="http://www.thai-discovery.com">
<div id="header">
<div id="headertext">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>
</div>
</a>
markit is offline
Reply With Quote
View Public Profile
 
Old 11-09-2009, 10:53 PM Re: Need header logo to link back to website
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Yes, that worked, thanks for that. One more thing, how can I change the cursor to a hand with the index finger out?
TheDon is offline
Reply With Quote
View Public Profile
 
Old 11-10-2009, 12:27 AM Re: Need header logo to link back to website
frih's Avatar
Super Talker

Posts: 139
Name: abhi
Location: http://www.techbusy.org/
Trades: 0
I checked you site, it is showing the hand cursor.
Anyway, To change the cursor, you can use CSS.

example--

<a style="cursor: hand;" href="link here">Link</a>
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
frih is offline
Reply With Quote
View Public Profile Visit frih's homepage!
 
Old 11-10-2009, 05:13 AM Re: Need header logo to link back to website
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope! The CORRECT syntax is

cursor:pointer;

"hand" is a MS IE specific value
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Need header logo to link back to website
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26332 seconds with 12 queries