$video = get_field('video', $post->ID);
$ext = pathinfo($attachment['url'], PATHINFO_EXTENSION);
$vt = get_video_data($video);
$slideshare = get_field('slideshare', $post->ID);
$session = get_post_meta($post->ID, 'session');
$end_datetime = strtotime(get_field('end_date', $post->ID));
$initial_datetime = strtotime(get_field('initial_date', $post->ID));
// Find connected participants
$connected = new WP_Query(array('connected_type' => 'presentations_to_participants', 'connected_items' => $post, 'nopaging' => true));
?>
    
<div id="primary" class="content-area">
	<main id="main" class="site-main" role="main">

		<?php 
event_breadcrumb($post->ID);
?>

		<div class="session">
			<div class="single-session-date">
	            <?php 
echo date_i18n("d/F/Y - l", $initial_datetime);
?>
	        </div>
	        <div class="session-time">
	        	<?php 
echo date("H:i A", $initial_datetime) . ' - ' . date("H:i A", $end_datetime);
?>
	    	</div>
	    	<?php 
if ($session) {
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */
get_header();
?>

<?php 
global $id;
$obj = $post;
?>

<div id="primary" class="content-area">
	<main id="main" class="site-main" role="main">
	
		<?php 
event_breadcrumb($id);
?>

		<div class="detail">
			<div class="author-profile">
				<div class="s-author">
					<?php 
$picture = get_field('picture');
$job_title = get_field('job_title');
$affiliation = get_field('affiliation');
$separator = $job_title && $affiliation ? ' - ' : '';
?>
					<?php 
if ($picture) {
    ?>
						<div class="author-pic"><img src="<?php