Title: Future Events
Last modified: August 31, 2016

---

# Future Events

 *  Resolved [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/future-events-1/)
 * We’d like to use this to display upcoming events from multiple RSS feed sources.
   Is there a setting, add-on or way to customize the code so that we can show only
   future posts instead of past posts?
 * [https://wordpress.org/plugins/wp-rss-aggregator/](https://wordpress.org/plugins/wp-rss-aggregator/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Chirag Swadia](https://wordpress.org/support/users/chiragswadia/)
 * (@chiragswadia)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913882)
 * Hi,
 * Yes, it is possible to show only future items by using [this filter](http://docs.wprssaggregator.com/show-scheduled-items/).
   Let me know if you have any queries.
 * Regards
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913964)
 * Does this work only if you have the feed to post add-on? I’ve not been successful
   in getting it to work with the default feed display in the free version. The 
   feed import shows all future events/feed items as “Scheduled” and is only recognizing
   ones from the past. When I employee the filter and have it set for “future” only,
   it is still only showing the past items.
 *  Plugin Author [Mark Zahra](https://wordpress.org/support/users/markzahra/)
 * (@markzahra)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913976)
 * Hi, I apologise for the wait.
 * Can you please send us the URLs of the feed sources you’re using so that we can
   test them out on our end? This filter works with the core plugin of WP RSS Aggregator
   so it won’t require Feed to Post.
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913977)
 * I appreciate your help 🙂
 * Here’s our feed:
 * [http://events.lasalle.edu/MasterCalendar/RSSFeeds.aspx?data=xK80F%2fbc%2f4UErlXy9atsf2tl3qdOlp4kIcUXOaU0AgqPR4J%2bAoUcyg%3d%3d](http://events.lasalle.edu/MasterCalendar/RSSFeeds.aspx?data=xK80F%2fbc%2f4UErlXy9atsf2tl3qdOlp4kIcUXOaU0AgqPR4J%2bAoUcyg%3d%3d)
 * And I used this code snippet in my theme’s functions.php file (36 being the ID
   of the feed source):
 *     ```
       // WP RSS Aggregator - Show future feed
   
       add_filter( 'wprss_display_feed_items_query', 'my_show_future_stories', 10, 2 );
       function my_show_future_stories( $args, $settings ) {
           if ($args['meta_query']['wprss_feed_id'] === 36) {
               $args['order'] = 'ASC';
               $args['post_status'] = array('future');
           }
           return $args;
       }
       ```
   
 *  [Chirag Swadia](https://wordpress.org/support/users/chiragswadia/)
 * (@chiragswadia)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913981)
 * Hi,
 * Can you please check if the below code works fine for you ?
 *     ```
       // WP RSS Aggregator - Show future feed
   
       add_filter( 'wprss_display_feed_items_query', 'my_show_future_stories', 10, 2 );
       function my_show_future_stories( $args, $settings ) {
           if ( $args['meta_query'][0]['value'][0] === 36 ) {
               $args['order'] = 'ASC';
               $args['post_status'] = array('future');
           }
           return $args;
       }
       ```
   
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913982)
 * Nope 🙁 Past posts only.
 * [http://site.lasalle.edu/llama/rss-2/](http://site.lasalle.edu/llama/rss-2/)
 *  [Chirag Swadia](https://wordpress.org/support/users/chiragswadia/)
 * (@chiragswadia)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913991)
 * Hi,
 * Please confirm whether future feed items are imported on your website. If yes,
   and they do not display even after using the above filter, I would recommend 
   you to get in touch by opening a support ticket from [here](http://www.wprssaggregator.com/contact/).
 * Regards
 *  Thread Starter [manakuke](https://wordpress.org/support/users/manakuke/)
 * (@manakuke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913994)
 * No. Only past items.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Future Events’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [manakuke](https://wordpress.org/support/users/manakuke/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/future-events-1/#post-6913994)
 * Status: resolved