Removing recurring events from list view when 1st date has passed

Home Forums Calendar Products Events Calendar PRO Removing recurring events from list view when 1st date has passed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #799264
    curiousbee
    Participant

    Is there a way to remove recurring events from the list view once their first occurrence has past? Right now, my list view only shows one occurrence, but I’d like it to not show up unless it is the first occurrence of that event.

    Thanks!

    #801148
    Josh
    Participant

    Hello curiousbee,

    Thanks for reaching out to us!

    The simplest approach to get close to what you’re looking for would be to select the following setting within the General tab of the plugin settings. This will allow only the next upcoming instance of the recurrence to show within the list view.

    To get exactly what you’re looking for, you could possibly follow our Themer’s Guide to create a custom loop of the list view within your theme. Around the single events, you could add a conditional that checks for the current date against the first instance of tribe_get_recurrence_start_dates; to show only the first instance of a recurrence.

    Hopefully this will help to get you pointed in the right direction. Let me know if you have any further questions.

    Thanks!

    #983515
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing recurring events from list view when 1st date has passed’ is closed to new replies.