Title: Reverse RSS
Last modified: August 19, 2016

---

# Reverse RSS

 *  [wherl](https://wordpress.org/support/users/wherl/)
 * (@wherl)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/reverse-rss/)
 * I’m using WP as a calendar. As you can see here
    [http://www.actv.org/calendar](http://www.actv.org/calendar)
 * 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)

 *  Thread Starter [wherl](https://wordpress.org/support/users/wherl/)
 * (@wherl)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/reverse-rss/#post-876276)
 * 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.

## Tags

 * [reverse](https://wordpress.org/support/topic-tag/reverse/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [wherl](https://wordpress.org/support/users/wherl/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/reverse-rss/#post-876276)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
