} // Excerpt if ($show_excerpt) { // Apply a excerpt length if given if (isset($excerpt_length)) { $excerpt_length = intval($excerpt_length); } else { $excerpt_length = false; // This will use the site default } // Hide read more link on some post types if ($post_type == 'ac_gallery') { $show_read_more = false; } // Add social icons to read more $excerpt = ac_get_excerpt($post, $excerpt_length, $show_read_more, true, ac_person_get_all_social_icons()); } // Terms $show_terms = true; if (get_post_type() == 'ac_person') { $show_terms = false; } // Get terms slugs for Isotope filtering $terms = ' all '; $post_terms = get_the_terms($post->ID, $post_category); if (!empty($post_terms)) { foreach ($post_terms as $post_term) { $terms .= ' ' . $post_term->slug . ' '; } } // Get the post classes
<?php if ($show_title) { ?> <?php echo $a_start; ?> <div class='text <?php echo esc_attr($text_class); ?> '> <h3><?php echo $item_title; ?> </h3> </div> <?php echo $a_end; ?> <?php } ?> <?php echo ac_person_get_position(); ?> <?php echo ac_person_get_all_social_icons(); ?> </div>
</a></li> <?php } $web_address = ac_get_meta('web_address'); if ($web_address) { ?> <li class="web-address"><i class="entypo smaller icon-mail-1"></i><a href="<?php echo esc_url(ac_ensure_http($web_address)); ?> "><?php echo $web_address; ?> </a></li> <?php } ?> <?php echo ac_person_get_all_social_icons($post, 'li'); ?> <?php if (get_the_terms($post->ID, 'people-category')) { ?> <li><?php echo get_the_term_list($post->ID, 'people-category', '', ', ', ''); ?> </li> <?php } ?> </ul>
// shoestrap_meta_custom_render(); ?> <?php echo ac_get_post_title(); ?> </header> <?php echo ac_person_get_position(); ?> <div class="entry-summary"> <?php echo ac_get_excerpt($post, false, true, true, ac_person_get_all_social_icons()); ?> <div class="clearfix"></div> </div> </div> </div> <?php ac_social_sharing('ac_person'); ?> <?php if (has_action('shoestrap_entry_footer')) { echo '<footer class="entry-footer">';