WordPress.org

Forums

How to make RSS feed ONLY show today's and future posts? (3 posts)

  1. jwvelez
    Member
    Posted 5 years ago #

    I run an Events calendar, based on the WP-Calendar (by bustatheme.com), and I want to cross-link with a couple of sites. My idea is to give them an RSS feed for each category (concerts, sports, etc), and have them add them to their sites and display them using an RSS widget.

    I use a couple of plugins that allow me to post to future dates (since it's an event calendar). I also tweaked the feed-rss2.php file to reverse the chronological listing of events and NOT have the "newest" post show first, because it ended up showing an event that is a couple of months away from today.

    However, what it does now is that it displays the OLDEST post on the site, which was posted several weeks ago.

    Question is... is there any way I could restrict the feed to ONLY show events posted TODAY or in the future? and therefore ignore anything posted before "TODAY"?

    Thanks so much.

    (running WP2.8.5)

  2. jwvelez
    Member
    Posted 5 years ago #

    bump! help!

  3. Canaan_moore
    Member
    Posted 5 years ago #

    Hey :))
    Okay, if you wanna see ONLY today's and future posts it's done very simply. When you create you RSS just go to options and make the needed configurations.
    And here is one useful site you might wanna check it out. http://www.rsschannelwriter.com/
    Best, Canaan

Topic Closed

This topic has been closed to new replies.

About this Topic