Forum Replies Created

Viewing 1 replies (of 1 total)
  • Like RutjeT said, there appears to be an issue with this latest update and using a custom list-widget.php file in your theme. This is unfortunate because it means more dev work in order to benefit from this upgrade. I hope this is not a common issue with updates of this plugin.

    EDIT: All I had to do was add the following 2 lines from the new list-widget.php file to my custom list-widget.php file

    $events_label_plural = tribe_get_event_label_plural();
    
    $posts = tribe_get_list_widget_events();

    for context, here is some surrounding code so you can see where I placed them.

    * @package TribeEventsCalendar
     *
     */
    if ( ! defined( 'ABSPATH' ) ) {
    	die( '-1' );
    }
    
    $events_label_plural = tribe_get_event_label_plural();
    
    $posts = tribe_get_list_widget_events();
    
    //Check if any posts were found
    if ( $posts ) {
    	?>

Viewing 1 replies (of 1 total)