WordPress.org

Ready to get started?Download WordPress

Forums

How do I organize posts in order? (6 posts)

  1. uncdon
    Member
    Posted 4 years ago #

    I have 4 pages of posts with names containing the year, such as Post 1977, Post 1974, Post 1976, Post 1975, etc., etc. They range from 1953 thru 2009. I would like to rearrange them in order of name so that the oldest by name appears 1st and ascends from there. Ex. Post 1974, Post 1975, Post 1976, Post 1977

    Can anyone tell me how to do this?

  2. Roy
    Member
    Posted 4 years ago #

    http://codex.wordpress.org/Template_Tags/query_posts

    Make your orderby=ASC into DESC.

  3. MichaelH
    Member
    Posted 4 years ago #

    With the template tag, query_posts() (or get_posts) you can use the orderby=title and order=ASC arguments.

  4. uncdon
    Member
    Posted 4 years ago #

    Michael can you be more specific? I am a newbie and need more information.

    Thanks

  5. MichaelH
    Member
    Posted 4 years ago #

    With the help of the Template Hierarchy article, determine what Template is displaying your posts, then paste the content of that Template in a pastebin such as http://wordpress.pastebin.ca and report the link back here.

  6. uncdon
    Member
    Posted 4 years ago #

    The Template Hierarchy article goes into great detail as to what it is and how it works. It does not explain how to find it or where I should start looking. This is the first time I have tried to make any modifications to my WordPress so I am at a loss and will probably need to spend considerable amount of time reading and learning. If you are able to walk me through it I would be able to do this. You are welcome to look at this yourself, it is not confidential material. http://www.lewportalumni.com/website/

Topic Closed

This topic has been closed to new replies.

About this Topic