EDIT: I investigated for half an hour and think I have to change following code in plugin dir/src/functions/template-tags/loop.php
/**
* Event Title
*
* Return an event's title with pseudo-breadcrumb if on a category
*
* @param bool $depth include linked title
*
* @return string title
* @todo move logic to template classes
*/
function tribe_get_events_title( $depth = true ) {
$events_label_plural = tribe_get_event_label_plural();
global $wp_query;
$tribe_ecp = Tribe__Events__Main::instance();
$title = sprintf( __( 'Upcoming %s', 'the-events-calendar' ), $events_label_plural );
// If there's a date selected in the tribe bar, show the date range of the currently showing events
if ( isset( $_REQUEST['tribe-bar-date'] ) && $wp_query->have_posts() ) {
$first_returned_date = tribe_get_start_date( $wp_query->posts[0], false, Tribe__Events__Date_Utils::DBDATEFORMAT );
$first_event_date = tribe_get_start_date( $wp_query->posts[0], false );
$last_event_date = tribe_get_end_date( $wp_query->posts[ count( $wp_query->posts ) - 1 ], false );
// If we are on page 1 then we may wish to use the *selected* start date in place of the
// first returned event date
if ( 1 == $wp_query->get( 'paged' ) && $_REQUEST['tribe-bar-date'] < $first_returned_date ) {
$first_event_date = tribe_event_format_date( $_REQUEST['tribe-bar-date'], false );
}
$title = sprintf( __( '%1$s for %2$s - %3$s', 'the-events-calendar' ), $events_label_plural, $first_event_date, $last_event_date );
} elseif ( tribe_is_past() ) {
$title = sprintf( __( 'Past %s', 'the-events-calendar' ), $events_label_plural );
}
if ( tribe_is_month() ) {
$title = sprintf(
__( '%1$s for %2$s', 'the-events-calendar' ),
$events_label_plural,
date_i18n( tribe_get_option( 'monthAndYearFormat', 'F Y' ), strtotime( tribe_get_month_view_date() ) )
);
}
any ideas?