Limit Event RSS Feed

Home Forums Calendar Products Events Calendar PRO Limit Event RSS Feed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1157292
    Kevin
    Participant

    We currently have events scheduled out through next year in our calendar, but use the RSS feed to import into MailChimp.

    I’m hoping to limit the events shown in the feed to just the next 9 days, but it looks like there is already a query rewrite happening later than wipes out my changes. Here’s my code – could you point me to where Events Calendar PRO is rewriting the query and how that filter might be disabled?

    $nextWed = strtotime('+8 days');
    $nextWedStr = date('m/d/Y H:i:s',$nextWed);
    
    $query->set('posts_per_rss',100);
    $query->set('meta_key','_EventStartDate');
    $query->set('meta_value',$nextWedStr);
    $query->set('meta_compare','<');
    $query->set('meta_type','DATETIME');
    #1157434
    Geoff B.
    Member

    Good evening Kevin and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    Before we begin, Just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues.
    We unfortunately do not provide complete support for customization.

    With that in mind, I would love to help you on the right track with this topic.

    As such, my first recommendation would be to read the following: https://theeventscalendar.com/knowledgebase/customize-rss-feed/

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1166510
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Limit Event RSS Feed’ is closed to new replies.