Sort posts (2 posts)

  1. creativepurple
    Posted 9 years ago #

    it would be nice if someone can give an example of how sort posts (in the homepage).

    i'm trying to do this, but its really hard to find informations about this subject.

    the idea is to display the posts with the default loop (posts of all categories) and add 3 links to sort the list of posts:
    sort by name, sort by date, sort by custom field.

  2. mank1
    Posted 9 years ago #

    This isn't WP specific, but it'll give you the idea.

Topic Closed

This topic has been closed to new replies.

About this Topic