I am a noob. I know very little about PHP.
I want to display a unique picture per page using custom fields.
I’ve modified the FallSeason 1.0 template intending to display a unique picture for each page in the sidebar div. I have the image I want to use in the theme’s image folder.
With success, I’ve used <?php the_meta(); ?> to display the meta data for my image. Very Cool.
I’ve picked another piece of code from another discussion and am only able to display an image place-holder. Here’s the code…
<?php $values = get_post_custom_values(“sidebar_page_img”); echo $values; ?>.jpg”>
I’m closer than ever, but I need your help!
Will you accept this challenge?
Thanks very much.
- The topic ‘Custom Fields to display a unique picture per page.’ is closed to new replies.