I’m using the headway theme and I want to add custom fields.
I use the following code to show the custom fields
<?php echo get_post_meta($post->ID, 'customfield1', true); ?>
I a non-Headway WordPress everything is fine.
But in my Headway-Theme I have a page. And the content in that page comes from a post. So I want to change the code something like
<?php echo get_post_meta(p=2337, 'customfield1', true); ?>
And of course, it did not work.
Has anyboy an Idea what I am doing wrong
- The topic ‘custom fields from specific post (with headway theme)’ is closed to new replies.