Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #242697

    Hi – one more question…I have events running constantly on our site and every time the counter gets down to the start time, it hangs at 00:00:00:00 for up to 30 min or an hour between the end of one meeting and the countdown to the next. Any way to fix that?

    #243236

    Hey jareddegnan!

    Incarnation caches the event count data because of performance reasons. You can change the cache duration though. Open up wp-content/themes/incarnation/config-events-calendar/config.php and search for:

    
    if($transient_time > 3600) set_transient( 'avia_next_event', $next_event, 60 * 30 );
    

    Replace 3600 and 60 * 30 (= 1800) with lower values. I.e. replace it with:

    
    if($transient_time > 100) set_transient( 'avia_next_event', $next_event, 50 );
    

    Cheers!
    Peter

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

You must be logged in to reply to this topic.