• Resolved jamesmddd

    (@jamesmddd)


    hi,

    i have the wp-ellie theme from solostream – http://designermensclothes.co.uk/v2/ ..

    underneath the post images, instead of the excerpt, I want to display the value of the custom field “Price”, and put “Price: £” before the value.

    I’ve googled but can’t get my head around it!

    Thanks, any help is appreciated.

Viewing 1 replies (of 1 total)
  • try this

    if (get_post_meta($post->ID, 'Price', true)){
    		 echo "Price: £".get_post_meta($post->ID, 'Price', true) ;
    				}
Viewing 1 replies (of 1 total)
  • The topic ‘displaying custom field values on template.’ is closed to new replies.