I’m trying to create a custom feed which grabs the days posts and then puts them all in alphabetical order. I can get them in alphabetical order or I can get all the days posts. However once I filter by date and then try to order them by title nothing happens.
The code I’m using is here:
<?php $current_date = getdate(); $args = array( 'posts_per_page' => 90, 'year' => $current_date["year"], 'monthnum' => $current_date["mon"], 'day' => $current_date["mday"], 'orderby' => 'title', 'order' => 'ASC' ); query_posts( $args ); include('wp-includes/feed-rss2.php'); ?>
You can see a sample of the feed here:
Any help would be much appreciated.
- The topic ‘Custom Feed Orderby has no effect’ is closed to new replies.