How to pull only one post from loop?

Community Forums Forums Design Tips and Tricks How to pull only one post from loop?

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  mattspaeth 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2633

    mattspaeth
    Participant
    Post count: 11

    I am looking to pull only one post from the loop in home.php. I am thinking this needs to be done with a conditional function using the $loop_counter variable. Does anyone have any code or resources that can help me out?

    Thank you.

    #2647

    mattspaeth
    Participant
    Post count: 11

    Edit for clarity: I am looking to pull just the most recent post.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.