Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
briandunnigan Initial Commit
Latest commit 6a39c0e Apr 15, 2015 History
Better Late than Never
0 contributors

Users who have contributed to this file

<?php
/*
Template Name: Faculty/Staff Single Page
*/
get_header(); ?>
<div id="body-container">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="custom-span8">
<div class="section-title text-serif">
<?php $key="section-title"; echo get_post_meta($post->ID, $key, true); ?>
</div>
<h1 class="page-title"><?php $key="page-title"; echo get_post_meta($post->ID, $key, true); ?></h1>
<hr class="title-hr" /><br />
<div class="small-col">
<?php the_post_thumbnail() ?>
<hr class="title-hr" />
<p class="faculty-email-container"><a class="email-button" href="mailto:<?php $key="faculty-email"; echo get_post_meta($post->ID, $key, true); ?>">EMAIL</a></p>
</div>
<div class="med-col no-marg-left">
<div class="post content clearfix" id="post-<?php the_ID(); ?>">
<div class="faculty-name"><?php the_title(); ?></div>
<div class="faculty-title"><?php $key="faculty-title"; echo get_post_meta($post->ID, $key, true); ?></div>
<hr class="title-hr" />
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
</div>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<div class="sidebar">
<?php $sidebar = get_post_meta($post->ID, 'sidebar-a', true);
get_sidebar($sidebar);
?>
</div>
</div>
</div>
<?php get_footer(); ?>