Title: Shortcodes for recent posts
Last modified: August 21, 2016

---

# Shortcodes for recent posts

 *  [dearlydemented](https://wordpress.org/support/users/dearlydemented/)
 * (@dearlydemented)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/shortcodes-for-recent-posts/)
 * Hi, all help is appreciated!
 * I’m struggling to set up my “home” page. I only want to display the 4 recent 
   posts of each category there.
    This shortcode works fine:
 * [home_posts heading=’Reviews’ posts_per_page=’4′][/home_posts]
 * But I’d like to display only one category and one only there. Is that possible?

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/shortcodes-for-recent-posts/#post-4036261)
 * is the shortcode `[home_posts]` part of your theme or from a plugin?
 * what theme are you working with?
    what plugin?

Viewing 1 replies (of 1 total)

The topic ‘Shortcodes for recent posts’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/shortcodes-for-recent-posts/#post-4036261)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
