Recurring Event Occurrences List

Home Forums Calendar Products Events Calendar PRO Recurring Event Occurrences List

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1032800
    inhouse
    Participant

    Ok, I’m already subscribed to this thread. Please do bump the thread when the plugin has been updated if you don’t mind.

    We’re choosing to roll back to the manual approach for the time being which relied on the client using custom fields to manually display the occurrences.

    While testing your suggestion to manually remove the extra ‘in between’ dates we noticed that past dates still show on the front end. Is there a way to add a class for expired dates so we can hide them with CSS?

    
    foreach ( $dates as $instance_date )
    echo '<div class="date-span date-span-expired ">' . $instance_date . '</div>';
    
    #1032825
    Barry
    Member

    We’ll definitely do our best to update the thread when we’ve got something to report re the fix 🙂 (failing that, our blog and our changelogs will also reflect the change).

    Is there a way to add a class for expired dates so we can hide them with CSS?

    Well, you could just not output them at all. Above:

    $dates[ tribe_get_start_date( $possible_id, false, 'U' ) ] = tribe_get_start_date( $possible_id );

    You could add:

    if ( tribe_get_start_date( $possible_id, false, 'U' )  < date_i18n( 'U' ) )
        continue;
    #1075846
    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 - 16 through 18 (of 18 total)
  • The topic ‘Recurring Event Occurrences List’ is closed to new replies.