Support » How-To and Troubleshooting » Displaying a post in the sidebar
2 years, 6 months ago
Very simply, I would like to be able to call a post into my sidebar of certain pages on my site.
I have used this code to display images, text and also a form:
$postid = $wp_query->post->ID;
echo get_post_meta($postid, 'customField', true);
I just can’t work out how to show a post!