Support » Fixing WordPress » Reverse RSS

  • wherl


    I’m using WP as a calendar. As you can see here

    I’ve got everything working but would like to reverse the order of the rss feed.
    Since I’m displaying future posts for a calendar the RSS lists the event listed
    the farthest out on the calendar. I would like to show have it list the 10 most recent events.

    I’ve search everywhere and have only found reverse order commands for comments and post.

Viewing 1 replies (of 1 total)
  • Solved

    in the wp-includes folder edit the feed-rss2.php file…

    Add this code…
    <?php query_posts($query_string . "&order=ASC") ?>

    Above the
    <?php while( have_posts()) : the_post(); ?>
    line in this file.(around line 34)

    Save and replace. (using wp 2.7)

Viewing 1 replies (of 1 total)
  • The topic ‘Reverse RSS’ is closed to new replies.