/**
 * Specify the template for agenda view
 *
 * @param $template string containing the current template file
 * @return string
 **/
function tribe_events_agenda_setup_view_template($template)
{
    // agenda view
    if (tribe_is_agenda()) {
        $template = TribeEventsTemplates::getTemplateHierarchy('agenda');
    }
    return $template;
}
 /**
  * Filter the view title for Agenda view
  *
  * @return void
  * @author 
  **/
 function the_title($title)
 {
     if (tribe_is_agenda()) {
         global $wp_query;
         $title = sprintf('%s %s', __('Agenda starting ', 'tribe-event-agenda-view'), Date("l, F jS Y", strtotime($wp_query->get('start_date'))));
     }
     return $title;
 }
 /**
  * Specify the template for agenda view
  *
  * @param $template string containing the current template file
  * @return string
  **/
 function tribe_events_agenda_setup_view_template($template)
 {
     error_log(">>> tribe_events_agenda_setup_view_template");
     // agenda view
     if (tribe_is_agenda()) {
         $template = Tribe__Events__Templates::getTemplateHierarchy('agenda');
     }
     return $template;
 }