Put RSS feed in default order
-
I wanted my archives and categories to show up in ascending chronological order so I put the following code in my index.php:
<?php
if (!empty($_SERVER["QUERY_STRING"]))
$order="asc";
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
?>It worked like a charm, so now my main page has the most recent post up top and goes in descending order but everything else is ascending. Just what I wanted.
But. Now my RSS feed is in ascending chronological order too, so my oldest entry is what’s showing up first. Not what I want there.
How can I get the RSS to stream normally (reverse chrono order) and still have my archives in ascending order?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Put RSS feed in default order’ is closed to new replies.