Title: Show Specific post?
Last modified: August 19, 2016

---

# Show Specific post?

 *  [belgin-fish](https://wordpress.org/support/users/belgin-fish/)
 * (@belgin-fish)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/show-specific-post/)
 * Ok, well im just wondering how to show a specific post, like this :
 * > <?php $recent = new WP_Query(“&showposts=3”); while($recent->have_posts()) :
   > $recent->the_post();?>
 * is showing the three most recent posts, but how do i have it show a specific 
   one, i have the posts id and all i just need the code.
 * thanks

Viewing 1 replies (of 1 total)

 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/show-specific-post/#post-937049)
 * Change it to
    `<?php $recent = new WP_Query("p=123");` where 123 is the post’s
   id.

Viewing 1 replies (of 1 total)

The topic ‘Show Specific post?’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)
 * [show](https://wordpress.org/support/topic-tag/show/)
 * [specific](https://wordpress.org/support/topic-tag/specific/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/show-specific-post/#post-937049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
