WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes for recent posts (2 posts)

  1. dearlydemented
    Member
    Posted 11 months 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
    The Sweeper & Moderator
    Posted 11 months ago #

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

    what theme are you working with?
    what plugin?

Reply

You must log in to post.

About this Topic