post_class(); ?> > <header> <?php the_post_thumbnail(); ?> <h2 class="post-title" lang="<?php talk_lang_attribute(); ?> "><?php the_title(); ?> </h2> <?php sudweb_list_speakers(get_the_id()); ?> </header> <?php if (function_exists('p2p_list_posts')) { ?> <?php $schedule = p2p_type('talk_to_schedule')->get_connected(get_the_id())->next_post(); ?> <p> <span class="post-datetime"> <a href="<?php echo get_post_permalink($schedule->ID); ?> "><?php
<?php get_header(); the_post(); ?> <div class="row"> <?php get_sidebar('conferences'); ?> <div class="content"> <?php get_template_part('page', 'article'); ?> <?php sudweb_list_speakers(get_the_id(), array('template' => 'single-talk-embed.php', 'before_list' => '', 'after_list' => '', 'before_item' => '', 'after_item' => '')); ?> </div> </div> <?php get_footer();
<?php echo sudweb_get_talk_datetime($post, 'j F'); ?> </div> <?php } elseif (get_field('schedule')) { ?> <div class="schedule-item-timeframe"> <?php the_field('schedule'); ?> </div> <?php } ?> <?php the_post_thumbnail('tiny-thumbnail', array('class' => 'illustration', 'alt' => '')); ?> <!-- Subtitle --> <div class="schedule-item-subtitle"> <?php echo get_the_terms(get_the_id(), 'talk_types')->name; ?> <?php if (get_post_type(get_queried_object()) !== 'speaker') { sudweb_list_speakers(get_the_id(), array('before_list' => '– Animé par <span class="post-speaker">')); } ?> </div> </div>
setup_postdata($post); ?> <li class="schedule-item schedule-speaker"> <?php the_post_thumbnail('tiny-thumbnail'); ?> <h2 class="schedule-item-title"><a href="<?php the_permalink(); ?> " rel="bookmark"><?php the_title(); ?> </a></h2> <div class="schedule-item-content"> <?php the_excerpt(); ?> <?php sudweb_list_speakers(get_the_id(), array('template' => 'single-talk-inline.php', 'inherit')); ?> </div> </li> <?php } ?> </ul> </div> </div> <?php get_footer();