%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/ceaa/wp-content/themes/eduma/wp-events-manager/
Upload File :
Create Path :
Current File : /var/www/html/ceaa/wp-content/themes/eduma/wp-events-manager/content-event.php

<?php
$display_year = get_theme_mod( 'thim_event_display_year', false );
$class        = 'item-event';
$time_format  = get_option( 'time_format' );
$time_start   = wpems_event_start( $time_format );
$time_end     = wpems_event_end( $time_format );

$location   = wpems_event_location();
$date_show  = wpems_get_time( 'd' );
$month_show = wpems_get_time( 'F' );
if ( $display_year ) {
	$month_show .= ', ' . wpems_get_time( 'Y' );
}
?>
<div <?php post_class( $class ); ?>>
    <div class="time-from">
        <div class="date">
			<?php echo esc_html( $date_show ); ?>
        </div>
        <div class="month">
			<?php echo esc_html( $month_show ); ?>
        </div>
    </div>
	<?php
	if ( has_post_thumbnail() ) {
		echo '<div class="image">';
		echo thim_get_feature_image( get_post_thumbnail_id(), 'full', 450, 233 );
		echo '</div>';
	}
	?>
    <div class="event-wrapper">
        <h5 class="title">
            <a href="<?php echo esc_url( get_permalink( get_the_ID() ) ); ?>"> <?php echo get_the_title(); ?></a>
        </h5>

        <div class="meta">
            <div class="time">
                <i class="fa fa-clock-o"></i>
				<?php echo esc_html( $time_start ) . ' - ' . esc_html( $time_end ); ?>
            </div>
            <div class="location">
                <i class="fa fa-map-marker"></i>
				<?php echo ent2ncr( $location ); ?>
            </div>
        </div>
        <div class="description">
			<?php echo thim_excerpt( 25 ); ?>
        </div>
    </div>

</div>

Zerion Mini Shell 1.0