Support

Account

Home Forums ACF PRO Displaying the 3 latest custom posts

Helping

Displaying the 3 latest custom posts

    • barlee

    • July 24, 2020 at 3:41 pm

    HI,

    I will have an archive page and that is no trouble at all. My issue is I would like to display the 3 latest custom posts on the home page, Title, Image and short description. How can I achieve this?

    Thanks in advance

  • https://developer.wordpress.org/reference/classes/wp_query/

    
    'posts_per_page' => 3,
    'orderby => 'date',
    'order' => 'DESC'
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.