View Single Post
Old 12-17-2007, 03:22 PM  
WarChild
Let slip the dogs of war.
 
WarChild's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Bermuda
Posts: 17,263
PHP / Wordpress Pros .. Please help!

I'm using the following on the single.php template file for post navigation:

<?php next_post_link('%link', '<img src="/images/next.gif" width="75" height="21" border="0">', FALSE); ?>

Works fine, but what I actually want to do is insert <?php bloginfo('template_directory'); ?> before the /images/next.gif.

I know I can't simply do:

<?php next_post_link('%link', '<img src="<?php bloginfo('template_directory'); ?>/images/next.gif" width="75" height="21" border="0">', FALSE); ?>

So hook can someone hook me up with the right format please? I don't want to learn php I just want to finish this damn template I started. :P
__________________
.
WarChild is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote