Im really stuck on this .. \
I have an ID of a custom post type, and on my page (of a different post type) I want to get the Featured image of my custom-post-type which I have the ID for ..
I thought a simple WP_Query would do the job – but I cant seem to get access to the right info to pull out the_post_image() ..
anyone help out with this – Ive seen to have gone round and round in circles.>!
- The topic ‘Get Custom Post by its ID’ is closed to new replies.