| Server IP : 172.67.147.195 / Your IP : 216.73.216.142 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/public_html/wp-content/themes/eduma/wp-events-manager/ |
Upload File : |
<?php
$display_year = get_theme_mod( 'thim_event_display_year', false );
$view_detail = get_theme_mod( 'thim_event_button_view_detail_event', false );
$countdown = get_theme_mod( 'thim_event_countdown_archive_event', false );
$time_format = get_option( 'time_format' );
$month_show = wpems_get_time( 'M' );
if ( $display_year ) {
$month_show .= ', ' . wpems_get_time( 'Y' );
}
?>
<div <?php post_class( 'item-event' ); ?>>
<div class="time-from">
<?php do_action( 'thim_before_event_time' ); ?>
<div class="date">
<?php echo esc_html( wpems_get_time( 'd' ) ); ?>
</div>
<div class="month">
<?php echo esc_html( $month_show ); ?>
</div>
<?php do_action( 'thim_after_event_time' ); ?>
</div>
<?php
if ( has_post_thumbnail() ) {
echo '<div class="image">';
echo thim_get_feature_image( get_post_thumbnail_id(), 'full', apply_filters( 'thim_event_thumbnail_width', 450 ), apply_filters( 'thim_event_thumbnail_height', 233 ) );
if ( $countdown ) {
do_action( 'tp_event_loop_event_countdown' );
}
echo '</div>';
}
?>
<div class="event-wrapper">
<?php the_title( sprintf( '<h5 class="title"><a href="%s">', esc_url( get_permalink() ) ), '</a></h5>' ); ?>
<div class="meta">
<div class="time">
<i class="edu-clock"></i>
<?php echo esc_html( wpems_event_start( $time_format ) ) . ' - ' . esc_html( wpems_event_end( $time_format ) ); ?>
</div>
<?php if ( wpems_event_location() ): ?>
<div class="location">
<i class="edu-map-marker"></i>
<?php echo ent2ncr( wpems_event_location() ); ?>
</div>
<?php endif; ?>
</div>
<div class="description">
<?php echo thim_excerpt( 25 ); ?>
</div>
<?php if ( $view_detail ) : ?>
<div class="view-detail">
<a href="<?php echo esc_attr( get_the_permalink() ); ?>">
<?php esc_html_e( 'Get ticket', 'eduma' ); ?>
</a>
</div>
<?php endif; ?>
</div>
</div>