wcb_suppress_sharing();
get_header();
?>

		<div id="container">
			<div id="content" role="main">
				<div class="callout lead"><?php 
if (have_posts()) {
    the_post();
    the_content();
}
?>
				</div>

				<div class="cpt-loop sessions"><?php 
$half_id = wcb_optimal_column_split($sessions, 200);
// Open the first column
echo '<div class="grid_6 alpha">';
while (wcb_have_sessions()) {
    wcb_the_session();
    // Close the first column, open the second.
    if (get_the_ID() == $half_id) {
        echo '</div><div class="grid_6 omega">';
    }
    ?>
					<div id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class('session');
    ?>
				<div class="cpt-loop speaker-gravatar-list clearfix"><?php 
while (wcb_have_speakers()) {
    wcb_the_speaker();
    $href = '#' . esc_attr(wcb_get_speaker_slug());
    $title = esc_attr(get_the_title());
    echo "<a href='{$href}' title='{$title}'>";
    echo wcb_get_speaker_gravatar(48);
    echo '</a>';
}
wcb_rewind_speakers();
?>
</div>

				<div class="cpt-loop speakers"><?php 
$half_id = wcb_optimal_column_split($speakers, 200, 200);
// Open the first column
echo '<div class="grid_6 alpha">';
while (wcb_have_speakers()) {
    wcb_the_speaker();
    // Close the first column, open the second.
    if (get_the_ID() == $half_id) {
        echo '</div><div class="grid_6 omega">';
    }
    ?>
					<div id="<?php 
    echo esc_attr(wcb_get_speaker_slug());
    ?>
" <?php 
    post_class('speaker clearfix');
    ?>