Adding custom value next to header
-
Hi,
I’ve searched and searched for days, but I’ve found no answer.
I have a custom field called “Image” (which is linked to an image) that I want displayed next to my post’s title in the single page and on the main page. However, I’ve no idea how to recall the custom filed or where to display the code that does it.
I believe
<?php $image = get_post_meta($post->ID, 'Image', true); ?>should get the image, but I’ve no idea where to put the code or how to get it to display.Any help would be greatly appreciated.
FYI. I’m using a child theme and I’m using Twenty Eleven.
Thanks
`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding custom value next to header’ is closed to new replies.