Support » Fixing WordPress » Display post titles from single category — in Reverse Order

  • Resolved kahitano

    (@kahitano)


    I have successfully tried to display a number of post titles from a single category, and it works great.

    But I want them to show in the REVERSE order. I am planning to use it as a make-shift event calendar, posting in advance, so the most recent (i.e. the older post) should show first, and the later events (the latter posts)

    is there a way to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ivovic

    (@ivovic)

    absolutely there is. check out the codex page on query_posts()

    There’s a section there about the “orderby” parameter. If you set that to date, the default is to show the newest first.

    However, if you then set the “order” parameter as well, you an pick if you want this to be ASCending or DESCending.

    kahitano

    (@kahitano)

    thanks, I figured it out a while ago too..

    but is there a way to show posts with a future timestamp too?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display post titles from single category — in Reverse Order’ is closed to new replies.