I’m trying to create a new template for my theme.
What i want to do is actually only show one result in the template.
So i need to get post id from the url (which i believe is a standard function), and then pass that post_id in to the query so that the template only shows that one post…
Can i filter by post id as i can’t seem to find anything that says i can?
Any advice on this?
- The topic ‘WP Query Post by Post ID’ is closed to new replies.