![]() | | ||||||||
| | #1 |
| Advance Warrior Join Date: Jun 2008 Location: Islamabad, Pakistan
Posts: 410
Thanks: 0
Thanked 1 Time in 1 Post
|
Dear Warriors, Just wanted to ask a quick php question, I have a page on which we have static pictures but i want those pictures to be clickable as currently they don't link to anything the code is <img src="<?php bloginfo('template_url'); ?>/images/ad1.gif" class="left" alt="" /> now how can i make this code to link to some other website ... i mean the graphic that should link to some other website ... I hope you get the idea.. Best Regards, Tirmizi |
| | |
| | |
| | #2 |
| Advanced Warrior War Room Member Join Date: May 2008
Posts: 667
Thanks: 152
Thanked 126 Times in 69 Posts
|
<a href="http://otherwebsite" > <img src="<?php bloginfo('template_url'); ?>/images/ad1.gif" class="left" alt="" border=0 /> </a> ? |
| | |
![]() |
|
| Tags |
| desiging, how to, php, website development |
| Thread Tools | |
| |
![]() |