<?php
$post_object = get_sub_field('nill_modselectevent');
if( $post_object ):
// override $post
$post = $post_object;
setup_postdata( $post );
?>
<?php $location = get_field('nill_eventgooglemap'); if( !empty($location) ): ?>
<!-- Event Post -->
<div class="row nill-back-two">
<div class="container-fluid">
<div class="col-xs-12 col-sm-12 col-md-12 nill-space-four">
<div class="nillplay-modmapover">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="row">
<!-- Event Title -->
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="nillplay-modevent-title">
<h1><?php the_titlesmall('', '', true, 100 ) ?></h1>
<h2><?php content('12'); ?></h2>
<a href="<?php the_permalink() ?>" class="btn btn-inverse nillplay-modeventbtn"><?php _e( 'Read More', 'nillnews' ); ?></a>
</div>
</div>
<!-- Event Count -->
<div class="hidden-xs hidden-sm col-md-6 col-lg-6">
<div class="nillplay-modevent-title pull-right">
<h1><?php _e( 'Time', 'nillnews' ); ?></h1>
<div class="nill-event-countdown-two">
<?php $date = DateTime::createFromFormat('Ymd', get_field('nill_eventtime')); ?>
<div id="countdown" class="nill-event-countdown-list"></div>
<script>
var target_date = new Date("<?php echo $date->format('m, d, Y'); ?>").getTime();
- Output for 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected end of file in /in/VMcPS on line 41
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected $end in /in/VMcPS on line 41
Process exited with code 255.
preferences:
180.72 ms | 1395 KiB | 63 Q