Grow your CSS skills. Land your dream job.

WordPress sort/order help

  • # August 2, 2009 at 8:17 am

    Hi,
    The Problem
    I would like to sort my posts based on custom fields, when the user clicks on a link. I don’t know if there is a parameter that can be passed via url to reorder posts.

    Comparison
    I would like it to work similar to how you can sort songs in iTunes. The user simply clicks the "Artist" button and the songs are reorder alphabetically by artist’s name.

    Example
    The custom field could be the location where I was when I wrote the post. "Location = home" or "Location = office" etc. When the user click a links the page is reload with the posts reordered. Posts from home before ones from the office.

    Thanks for the help.

    # August 2, 2009 at 8:29 am

    Why not use categories?

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".