Title: How to get recent posts?
Last modified: August 31, 2016

---

# How to get recent posts?

 *  Resolved [atincuzun](https://wordpress.org/support/users/atincuzun/)
 * (@atincuzun)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/)
 * Well i am new to wordpress and i am stuck on this problem. I wasnt even get any
   closer to solve it. So i want to get three latest posts’ content and print them
   on screen.
 * Firstly i had tried to get the latest post’s id and decrement it one by one to
   create a dynamic latest post system. However, then i had realised that posts 
   ids are random. Is there any way to display latest three posts on a page?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035741)
 * What theme are you using?
    Where did you download it from?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035742)
 * > i want to get three latest posts’ content and print them on screen
 * >  Is there any way to display latest three posts on a page?
 * where exactly?
    in the content? below the content? in the footer?
 *  Thread Starter [atincuzun](https://wordpress.org/support/users/atincuzun/)
 * (@atincuzun)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035744)
 * [@tara](https://wordpress.org/support/users/tara/) i develop the theme myself
 * [@michael](https://wordpress.org/support/users/michael/) in the content, i created
   a page called “news” where the recent posts should appear
 * edit: what i meant to just print recent posts on the page
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035749)
 * [https://codex.wordpress.org/Function_Reference/wp_get_recent_posts](https://codex.wordpress.org/Function_Reference/wp_get_recent_posts)
 *  Thread Starter [atincuzun](https://wordpress.org/support/users/atincuzun/)
 * (@atincuzun)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035764)
 * Thank you Tara i made more simplistic theme by using that methods thanks
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035767)
 * > i created a page called “news” where the recent posts should appear
 * consider to create a custom page template with a custom query and loop;
 * [https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/](https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/)
   
   [https://codex.wordpress.org/Class_Reference/WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to get recent posts?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/how-to-get-recent-posts/#post-7035767)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
