Results 1 to 4 of 4
Jul 27, 2013, 15:37 #1
- Join Date
- Oct 2010
- Portland, Or
- 2 Post(s)
- 0 Thread(s)
trying to add a image w/custom fields.
following some advice & instructions this is what I am using.
get_post_meta($post_id, $key, $single);
<?php $image = get_post_meta($post->ID, 'Image', true); ?> <img src="<?php echo $image; ?>" alt="image" />
not working? this is a page should the parameters be changed? I checked the codex & got the impression that $post should work as well.
How could I solve this please?