Showing custom fields on post page
-
Once again I’m stuck, and it’s driving me mad!
I’ve got custom post types set up, and also have custom fields.
What I want to do is at my custom fields to the bottom of my ‘custom post’ page, in this case individual job vacancies
I’ve tried this:
<?php echo get_post_meta($post->ID, "Location", true); ?> <?php echo get_post_meta($post->ID, "Salary", true); ?> <?php echo get_post_meta($post->ID, "Job_Type", true); ?>Which doesn’t seem to work.
Do I need to specify that it’s a post type=’Vacancy’ or something first?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Showing custom fields on post page’ is closed to new replies.