Lachlan

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Events List Widget: Long Events #16322
    Lachlan
    Member

    You know what? This doesn’t really matter. I’m going to convince the client to use the ‘recurring events’ feature. It’ll probably work better using this method anyway.

    Appreciate the support though. Cheers Rob! 🙂

    in reply to: Events List Widget: Long Events #16266
    Lachlan
    Member

    Oops. I’d change those tags, but I can’t edit that post… You get the drift.

    in reply to: Events List Widget: Long Events #16265
    Lachlan
    Member

    I have, yes.
    I know it has something to do with the following chunk of code (from events-calendar-pro/views/events-advanced-list-load-widget-display.php) but my PHP skills aren’t up to scratch to write it myself.
    [code]

    ID, $start );

    if($event->AllDay && $start) {
    echo ‘ (‘.__(‘All Day’,’tribe-events-calendar-pro’).’)’;
    } else {
    if ( $end && $event->EndDate != ”) {
    echo ” . __(‘Ends’, ‘tribe-events-calendar-pro’) . ‘ ‘;
    echo tribe_get_end_date($post->ID);
    }
    }
    ?>

    [/code]

    I would say that it would need another if statement to say
    if startdate < currentdate {
    echo currentdate }
    else {
    echo startdate }

Viewing 3 posts - 1 through 3 (of 3 total)