• On my homepage I have a list of posts, and at the top I want to show only the most recent “sticky” post, followed by the rest of the posts. Is there a way to achieve this?

    * Bonus points for only using one query_posts()
    (I know how to do it using two query_posts(), but I’m looking for a less taxing solution).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Perhaps I am not understanding this question correctly, but wouldn’t you just simply check the “sticky” box for the post you want? or, are you looking to do multiple “sticky” posts and further additional non-sticky posts?

    Thread Starter newmediarts

    (@newmediarts)

    @cais: The trouble with that is once I check the “sticky” option for another post, I will have two sticky posts at the top of my list, and these will continue to grow as I continue to add new “sticky” posts. I only want 1 sticky post to be displayed.

    I think I see what you’re getting at, but I’d prefer it if I didn’t have to go and uncheck previously “sticky” posts when I want to add a new one.

    Un-check the “Stick this post to the front page” box on the post you no longer want stuck to the front page.

    Am I missing something? Where is the sticky post option found?
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show only one sticky post at the top of a list of posts’ is closed to new replies.