Answer by solepixel for How to reorder and display a feed to be chronological?
Not sure if anyone else is dealing with this or if the answer in this post is outdated, but this is the method I used which was drastically less duplicated code:add_action('wp_feed_options',...
View ArticleAnswer by Joshua Abenazer for How to reorder and display a feed to be...
This should do the trick. Put the following code in your functions.php and then check out the RSS Widget. It will have an option to reverse the order of the feeds./** * RSS widget class */class...
View ArticleAnswer by user10617 for How to reorder and display a feed to be chronological?
Adding the following code to your theme's functions.php file should do the trick:function feedFilter($query) { if ($query->is_feed) { $query->set('order','ASC'); $query->set('orderby','date');...
View ArticleAnswer by kovshenin for How to reorder and display a feed to be chronological?
First place you should look at is the default-widgets.php file in the includes folder and the WP_Widget_RSS class which uses the wp_widget_rss_output function to render the RSS output. The function...
View ArticleAnswer by Norcross for How to reorder and display a feed to be chronological?
setting up a CPT would still be preferred, so you could add a meta field for start date. each post type would have its own RSS feed independent of posts.
View ArticleAnswer by Chris Cox for How to reorder and display a feed to be chronological?
Easiest way would be replacing the core RSS widget with a custom job that reverses the feed items before display. Something like:<?php foreach (array_reverse($feed->get_items()) as $item): ?>
View ArticleHow to reorder and display a feed to be chronological?
I have a feed from an events calendar that once put in the WordPress RSS widget displays the feed items in reverse chronological order. So the events that are farthest in the future display first, and...
View Article
More Pages to Explore .....