WordPress.org

Forums

Shortcodes for recent posts (2 posts)

  1. dearlydemented
    Member
    Posted 1 year ago #

    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?

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    is the shortcode [home_posts] part of your theme or from a plugin?

    what theme are you working with?
    what plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic