WordPress.org

Ready to get started?Download WordPress

Forums

Sorting on Main Page (2 posts)

  1. Reliquary
    Member
    Posted 8 years ago #

    Is there a way to edit my main page so that instead of sorting by date posted it would list by category and date posted..

    say for example:

    General(category)
    (most recent posts in general)
    News(category)
    (most recent posts in news)
    ...and so on..

  2. ShadyCraig
    Member
    Posted 8 years ago #

    Yes, try the following plugin http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
    in particular the function c2c_get_recent_posts(), set $orderby = 'date'.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags