View Single Post
  #1  
Old 03-27-2012, 03:46 PM
jacquisdesigns's Avatar
jacquisdesigns jacquisdesigns is offline
Registered User
Pro Plus Member
 
Join Date: May 2011
Posts: 29
Default Replace Image URL in functions with Directory image

I'm trying to add a signature to the functions.php and would like to replace the uploaded image with an image that's in the theme directory. is this possible?

CODE:

// Add Signature Image after single post
add_action('genesis_after_post_content', 'custom_include_signature', 1);
function custom_include_signature() {
if(is_single()) { ?>
<img src="IMAGE" alt="Signature" />
<?php }}

I would like to replace the <img src="IMAGE" alt="Signature" /> with something like this: (images/signature.png)

thank you
__________________
Jacqui
http://wackyjacquisdesigns.com