Forums

[resolved] Show second last post (3 posts)

  1. Jellelle
    Member
    Posted 3 years ago #

    Hi all

    How can I only show the title of the second last post of a category that is called 'twitter' (id 5)?

    Thanks,
    Jelle

  2. doranpalmer
    Member
    Posted 3 years ago #

    Use the offset parameter and set it to 1. Kind of like how you got the one cat excluded from your other post here. Exact usgae depends on how you're using it though.

    But with any query_posts based function, it'd be the offset=1 parameter.

  3. Jellelle
    Member
    Posted 3 years ago #

    Sweeeeet :D
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic