Setting the RSS feed in such a way that it just shows the feeds of last 24 hours

Home Forums Calendar Products Events Calendar PRO Setting the RSS feed in such a way that it just shows the feeds of last 24 hours

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #27859
    aman704
    Participant

    Hi I need help in setting the RSS feed in such a way that it just shows the feeds of last 24 hours instead of last 7 days.
    I access the RSS from here http://domain.com/events/feed

    #27898
    Jonah
    Participant

    Hi aman704,

    To achieve this you’ll need to hook into the WordPress pre_get_posts() function. I’m going to need to bring in another dev to help me with this but should be able to get you something in the next day or two. Hang tight.

    Thanks,
    Jonah

    #27910
    aman704
    Participant

    Thanks,
    I’d wait in that case.

    #28184
    aman704
    Participant

    Its been 6 days as of now.

    #28186
    Jonah
    Participant

    Hey aman704,

    Sorry about the delay on this. I’ll have an answer for you today.

    – Jonah

    #28211
    Timothy Wood
    Participant

    aman704, thank you for your patience. I am working on a solution that will work in current versions of the plugin, but keep in mind we are releasing a large overhaul on the query building for the plugin and this will be much simpler to accomplish going forward with easy ways to hook into the query building for any event queries and set limits like you are requesting.

    Just to clarify you are wanting the RSS to show the previous 24 hours? And are you looking for “previous” day or 25 hour range (aka if it 3PM currently get all events since 3PM yesterday vs just getting all events that happened yesterday)?

    #28431
    Leah
    Member

    Hey Aman,

    Since we haven’t heard from you in a while, I’m going to go ahead and close up this thread. If you need more help, feel free to start another thread.

    Cheers,
    Leah

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Setting the RSS feed in such a way that it just shows the feeds of last 24 hours’ is closed to new replies.