StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #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
  #2  
Old 03-28-2012, 05:01 AM
jacquisdesigns's Avatar
jacquisdesigns jacquisdesigns is offline
Registered User
Pro Plus Member
 
Join Date: May 2011
Posts: 29
Default

Nevermind i got it =)
__________________
Jacqui
http://wackyjacquisdesigns.com
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image link in functions AngieATC General Discussion 5 10-30-2011 07:49 PM
HELP! Image not pointing to correct directory ajwmedia General Discussion 1 04-01-2010 04:17 AM


All times are GMT -5. The time now is 03:38 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.