Wordpress: how to change the images link in the themes header?

2 replies
  • WEB DESIGN
  • |
Hey all,

In my wordpress theme there's an ad_top.php section that uses an image to link to the homepage of the site. The default code looks like this:
<?php ?>
<a href=""><img src="<?php bloginfo('template_url'); ?>/images/ad_top.jpg" alt="" /></a>

I'm trying to get my wordpress blog to link to my about page. One way I found to do it is to manually add the link to the a href section, like so:

<a href="www.mydomainname.com/aboutpage">

What I was wondering is if there is a more efficient way to change the code so that I can plug the theme into any site and as long as the about page is named the same, it will link there?

The theme I'm using is PassionDuo Blue which I got from http://www.dailyblogtips.com/wordpress-themes/

You do have to sign up for their newsletter to get access to the themes, so if there is anything else I need to provide please let me know.

Thank you very much for all your help!
#change #header #images #link #themes #wordpress

Trending Topics