<?php /** * @deprecated (template name was Speakers) * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WCBS * @since WCBS 1.0 */ $speakers = wcb_speaker_query(); get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <div class="callout lead"><?php if (have_posts()) { the_post(); the_content(); } ?> </div> <div class="cpt-loop speaker-gravatar-list clearfix"><?php while (wcb_have_speakers()) { wcb_the_speaker();
/** * wcb_the_speaker() * * Loads up the current speaker in the loop. * * @return object WordCamp information */ function wcb_the_speaker() { $query = wcb_speaker_query(); return $query->the_post(); }