__('Directions', '12-step-meeting-list'), 'directions_url' => $meeting->directions, 'formatted_address' => $meeting->formatted_address, 'latitude' => $meeting->latitude, 'location' => get_the_title($meeting->post_parent), 'location_id' => $meeting->post_parent, 'location_url' => get_permalink($meeting->post_parent), 'longitude' => $meeting->longitude, )); $startDate = tsml_format_next_start($meeting); //adding custom body classes add_filter('body_class', 'tsml_body_class'); function tsml_body_class($classes) { $classes[] = 'tsml tsml-detail tsml-meeting'; return $classes; } get_header(); ?>
  • '; echo tsml_format_day_and_time($meeting->day, $meeting->time); if (!empty($meeting->end_time)) { /* translators: until */ echo __(' to ', '12-step-meeting-list'), tsml_format_time($meeting->end_time); } echo '

    '; if (count($meeting->types_expanded)) {?>
      types_expanded as $type) {?>
    type_description)) {?>

    type_description, '12-step-meeting-list')?>

    notes)) {?>
    notes)?>
  • location_id)) { $location_info = '

    ' . $meeting->location . '

    '; if ($other_meetings = count($meeting->location_meetings) - 1) { $location_info .= '

    ' . sprintf(_n('%d other meeting at this location', '%d other meetings at this location', $other_meetings, '12-step-meeting-list'), $other_meetings) . '

    '; } $location_info .= '

    ' . tsml_format_address($meeting->formatted_address) . '

    '; if (!empty($meeting->location_notes)) { $location_info .= '
    ' . wpautop($meeting->location_notes) . '
    '; } if (!empty($meeting->region) && !strpos($meeting->formatted_address, $meeting->region)) { $location_info .= '

    ' . $meeting->region . '

    '; } $location_info .= '
    '; echo tsml_link( get_permalink($meeting->post_parent), $location_info, 'tsml_meeting', 'list-group-item list-group-item-location' ); } if (!empty($meeting->group) || !empty($meeting->website) || !empty($meeting->website_2) || !empty($meeting->email) || !empty($meeting->phone)) {?>
  • group?>

    group_notes)) {?>
    group_notes)?>
    district)) {?>
    district?>
    website)) {?>

    website?>

    website_2)) {?>

    website_2?>

    email)) {?>

    email?>

    phone)) {?>

    phone?>

    venmo)) {?>

    Venmo: venmo?>

{'contact_' . $i . '_name'}) || !empty($meeting->{'contact_' . $i . '_email'}) || !empty($meeting->{'contact_' . $i . '_phone'})) {?>

{'contact_' . $i . '_name'})) echo $meeting->{'contact_' . $i . '_name'}?> {'contact_' . $i . '_email'})) {?> {'contact_' . $i . '_phone'})) {?>