View Single Post
Old 05-22-2012, 06:52 AM  
Jel
Confirmed User
 
Jel's Avatar
 
Industry Role:
Join Date: Feb 2007
Posts: 6,904
Quote:
Originally Posted by ottopottomouse View Post
CUSTOM-FIELD-NAME filled out with image address

Code:
<img src="<?php echo get_post_meta($post->ID, 'CUSTOM-FIELD-NAME', true); ?>" alt="" height="480" width="640" />
Can call another field for the alt tag or create something related to the post title etc.
fris - gotcha

otto - so:

Code:
<img src="<?php echo get_post_meta($post->ID, 'featured-images', true); ?>" alt="" height="480" width="640" />
in this case I presume?
Jel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote