My single.php file has the following code:
<?php // Set and display custom field $intro_image = get_post_meta($post->ID, 'Intro Image', true); ?> <div class="block-1"> <img src="<?php echo $intro_image; ?>" alt="" /> </div> <?php ?>
The user will have to type Intro Image (once) in the 'Name' field in order to see it next time in the drop-down list. I think it would be better if the user can see 'Intro Image' right after installing my Wordpress theme (I feel that the user should select options that are available, not write them down themselves).
I'm not sure if what I'm saying make sense. But how to have those 'Names' available in the drop-down list before writing them?