File: /home/sinanpasha/ru.sinanpasha.org/wp-content/themes/capital/tribe-events/list/single-event.php
<?php
/**
* List View Single Event
* This file contains one event in the list view
*
*
* @package TribeEventsCalendar
*
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
} ?>
<?php
// Setup an array of venue details for use later in the template
$venue_details = tribe_get_venue_details();
// Venue
$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
// Organizer
$organizer = tribe_get_organizer();
?>
<!-- Event Meta -->
<?php do_action( 'tribe_events_before_the_meta' ) ?>
<div class="tribe-events-event-meta vcard">
<div class="author <?php echo $has_venue_address; ?>">
<!-- Schedule & Recurrence Details -->
<div class="updated published time-details">
<span class="event_meta_title"><?php _e('Date', 'wpzoom'); ?></span>
<?php echo tribe_events_event_schedule_details() ?>
</div>
<?php if ( tribe_address_exists() ) : ?>
<!-- Venue Display Info -->
<div class="tribe-events-venue-details">
<span class="event_meta_title"><?php _e('Location', 'wpzoom'); ?></span>
<?php echo tribe_get_venue() ?>
</div> <!-- .tribe-events-venue-details -->
<?php endif; ?>
</div>
</div><!-- .tribe-events-event-meta -->
<?php do_action( 'tribe_events_after_the_meta' ) ?>
<!-- Event Image -->
<?php echo tribe_event_featured_image( null, 'medium' ) ?>
<div class="event_content">
<!-- Event Content -->
<?php do_action( 'tribe_events_before_the_content' ) ?>
<!-- Event Cost -->
<?php if ( tribe_get_cost() ) : ?>
<div class="tribe-events-event-cost">
<span><?php echo tribe_get_cost( null, true ); ?></span>
</div>
<?php endif; ?>
<!-- Event Title -->
<?php do_action( 'tribe_events_before_the_event_title' ) ?>
<h2 class="tribe-events-list-event-title entry-title summary">
<a class="url" href="<?php echo tribe_get_event_link() ?>" title="<?php the_title() ?>" rel="bookmark">
<?php the_title() ?>
</a>
</h2>
<?php do_action( 'tribe_events_after_the_event_title' ) ?>
<div class="tribe-events-list-event-description tribe-events-content description entry-summary">
<?php the_excerpt() ?>
<a href="<?php echo tribe_get_event_link() ?>" class="tribe-events-read-more more-link" rel="bookmark"><?php _e( 'Event Details', 'tribe-events-calendar' ) ?></a>
</div><!-- .tribe-events-list-event-description -->
<?php do_action( 'tribe_events_after_the_content' ) ?>
</div><!-- /.event_content -->