<?php /** * Template Name: Full Width (No Sidebar) * * A custom page template without sidebar. */ $structure = wcb_get('structure'); $structure->full_width_content(); include WCB_DIR . '/page.php';
/** * wcb_get_speaker_gravatar() * * Gets the gravatar of the current speaker. * * @return object WordCamp information */ function wcb_get_speaker_gravatar($size = 96) { $speakers = wcb_get('speakers'); return get_avatar($speakers->meta_manager->get(get_the_ID(), 'email'), $size); }
function wcb_get_option($name) { $options = wcb_get('options'); $option = $options->get($name); $option = apply_filters('wcb_get_option', $option, $name); return $option; }
/** * wcb_get_session_speakers() * * Gets the speakers for the current session. * * @return object WordCamp information */ function wcb_get_session_speakers() { $sessions = wcb_get('sessions'); return esc_html($sessions->meta_manager->get(get_the_ID(), 'speakers')); }
function wcb_finish_rendering() { $structure = wcb_get('structure'); $structure->body->resume(); }