Hey there,
After updating x theme one of my custome post types templates mixed up.
Here is the link:
http://www.mindcet.org/en/event/edtech-park-boot-camp-yeruham-2018/
here is the single-event.php code:
<?php
// NOVUS SINGLE EVENT
$permalink = get_field('_buying_link') ? get_field('_buying_link') : get_the_permalink();
$permalink_text = get_field('_button_text');
$return_to_all_events = __( 'All Events ', '__x__' );
$Pictures_events = __( 'Event Photos ', '__x__' );
?>
<?php get_header(); ?>
<div class="x-container max width main">
<div class="offset cf">
<div class="x-main full" role="main">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-wrap entry-content">
<?php while ( have_posts() ) : the_post(); ?>
<div class="x-column x-sm x-3-5">
<div class="inside-event ">
<?php the_content(); ?>
<?php if ($permalink_text) : ?>
<a class="single_buy_tickets" href="<?php echo $permalink; ?>"><?php echo $permalink_text ?> <i class="fa fa-angle-left"></i></a>
<?php endif; ?>
</div>
<?php
$full_address = get_post_meta(get_the_ID(), '_event_location', true);
$images = get_field('_event_gallery');
if( $images ): ?>
<h4 class="event_gallery"> <?php echo $Pictures_events ?></h4>
<div class="event_slider">
<?php foreach( $images as $image ): ?>
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
<div class="x-column x-sm x-2-5 last">
<div class="event_location">
<iframe
width="400"
height="400"
frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyDB6S526V-qMo6JnEZdwWM-BBXJ173Tbc8
&q=<?php echo str_replace(', ', '+', $full_address['address']) ?>" allowfullscreen>
</iframe> <span class="title"><?php echo $full_address['address'] ?></span>
</div>
</div>
<?php endwhile; ?>
<div class="goto_events">
<a href="<?php echo get_permalink(154)?>"> <?php echo $return_to_all_events ?>
<?php if( ICL_LANGUAGE_CODE =='en') { ?>
<i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i>
<?php } else { ?>
<i class="fa fa-angle-left"></i><i class="fa fa-angle-left"></i>
<?php } ?>
</a>
</div>
</div>
</article>
</div>
</div>
</div>
<?php get_footer(); ?>
Thanks for your help!!