File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
<?php
/**
* View: Day Event
*
* Override this template in your own theme by creating a file at:
* [your-theme]/tribe/events/v2/day/event.php
*
* See more documentation about our views templating system.
*
* @link http://evnt.is/1aiy
*
* @since 5.0.0
*
* @var WP_Post $event The event post object with properties added by the `tribe_get_event` function.
*
* @see tribe_get_event() For the format of the event object.
*/
$classes = tribe_get_post_class( [ 'tribe-common-g-row', 'tribe-common-g-row--gutters', 'tribe-events-calendar-day__event' ], $event->ID );
if ( ! empty( $event->featured ) ) {
$classes[] = 'tribe-events-calendar-day__event--featured';
}
?>
<article <?php tribe_classes( $classes ); ?>>
<div class="tribe-events-calendar-day__event-content tribe-common-g-col">
<?php $this->template( 'day/event/featured-image', [ 'event' => $event ] ); ?>
<div class="tribe-events-calendar-day__event-details">
<header class="tribe-events-calendar-day__event-header">
<?php $this->template( 'day/event/date', [ 'event' => $event ] ); ?>
<?php $this->template( 'day/event/title', [ 'event' => $event ] ); ?>
<?php $this->template( 'day/event/venue', [ 'event' => $event ] ); ?>
</header>
<?php $this->template( 'day/event/description', [ 'event' => $event ] ); ?>
<?php $this->template( 'day/event/cost', [ 'event' => $event ] ); ?>
</div>
</div>
</article>
