Bug with list widget no_upcoming_events
-
in /the-events-calendar/src/Tribe/List_Widget.php
Line ~ #65
public function widget_output( $args, $instance, $template_name = 'widgets/list-widget' ) { global $wp_query, $tribe_ecp, $post; $no_upcoming_events = true; // IS SET HERE! $instance = wp_parse_args( $instance, array( 'limit' => self::$limit, 'title' => '', ) ); // BUT SHOULD BE UPDATED WITH THE ACTUAL $instance VALUE $no_upcoming_events = $instance['no_upcoming_events']; // WORKAROUND ADDED BY ERICH
$no_upcoming_events is always true, so the events-list-widget in a sidebar will not be visible if the “no_upcoming_events” is set two false in the widget settings
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Bug with list widget no_upcoming_events’ is closed to new replies.