* This is the page template for the * our members page. * * Template Name: Our Members */ get_header(); ?> <div class="row"> <div class="columns medium-8"> <h1><?php the_title(); ?> </h1> <?php the_content(); ?> <?php display_authors($post->ID); ?> <h2>Base Directors</h2> </div> </div> <?php get_footer();
<?php /** * Leader Section * This section displays all of the leaders of the * particular program. */ $terms = rwmb_meta('leaders', 'type=select&multiple=1'); if (!empty($terms)) { echo '<div data-magellan-destination="school-leaders" class="authors-container program-leaders-container">'; echo '<h2>School Leaders</h2>'; foreach ($terms as $term) { $author_object = get_post($term, OBJECT); $leader_ids[] = $author_object->ID; } display_authors($program_id, $leader_ids); echo '</div>'; } ?> <?php /** * Testimonies Section * This will display a random number of testimonies or user * defined testimonies. */ display_testimonies(array('section_title' => 'What Students Are Saying')); ?>