the_post(); ?> <article class="post-detail"> <?php echo get_cat_icon_text(); ?> <div class="post-detail__head"> <h1 class="post-detail__title"><?php the_title(); ?> </h1> </div> <div class="post__meta clearfix"> <ul class="post__people people-lists"> <?php people_list(); ?> </ul> <p class="post__date"><i class="fa fa-clock-o"></i><?php the_time('Y.m.d'); ?> </p> </div> <?php get_template_part('includes/share'); ?> <div class="post-detail__thumb"> <?php the_post_thumbnail('full'); ?> </div>
$META_last_modified = $pod->get_field('modified'); echo var_trace('pod_slug: ' . $pod_slug, $TRACE_PREFIX, $TRACE_ENABLED); $button_links = $pod->get_field('links'); echo var_trace('button_links: ' . var_export($button_links, true), $TRACE_PREFIX, $TRACE_ENABLED); $event_speakers = $pod->get_field('speakers', 'family_name ASC'); $event_respondents = $pod->get_field('respondents', 'family_name ASC'); $event_chairs = $pod->get_field('chairs', 'family_name ASC'); $event_moderators = $pod->get_field('moderators', 'family_name ASC'); $event_all_the_people = array_merge((array) $event_speakers, (array) $event_respondents, (array) $event_chairs, (array) $event_moderators); echo var_trace($event_all_the_people, $TRACE_PREFIX, $TRACE_ENABLED); $event_hashtag = ltrim($pod->get_field('hashtag'), '#'); $event_story_id = $pod->get_field('storify_id'); $speakers_output = people_list($event_speakers, "Speaker", "Speakers"); $respondents_output = people_list($event_respondents, "Respondent", "Respondents"); $chairs_output = people_list($event_chairs, "Chair", "Chairs"); $moderators_output = people_list($event_moderators, "Moderator", "Moderators"); $people_with_blurb = $speakers_output['with_blurb'] + $respondents_output['with_blurb'] + $chairs_output['with_blurb'] + $moderators_output['with_blurb']; $event_blurb = honor_ssl_for_attachments(do_shortcode($pod->get_field('blurb'))); $event_blurb_after_event = honor_ssl_for_attachments(do_shortcode($pod->get_field('blurb_after_event'))); echo var_trace($event_blurb_after_event, $TRACE_PREFIX . 'blurb_after_event', $TRACE_ENABLED); $event_contact_info = do_shortcode($pod->get_field('contact_info')); $event_media = $pod->get_field('media_attachments'); $slider = $pod->get_field('slider'); if (!$slider) { $featured_image_uri = get_the_post_thumbnail(get_the_ID(), array(960, 367)); } // if this is an event, grab the image URI from the Pod if (!$is_conference) { $featured_image_uri = honor_ssl_for_attachments($pod->get_field('heading_image.guid')); $attachment_ID = $pod->get_field('heading_image.ID'); push_media_attribution($attachment_ID);