Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
44afed53bd
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
 
 
Cannot retrieve contributors at this time
61 lines (37 sloc) 2.13 KB
<?php
/*
Template Name: Faculty Snapshot
*/
get_header(); ?>
<div id="home-interior">
<div class="row" id="row1">
<div class="page-title clear">
<h1>Faculty Snapshots</h1>
</div>
<div class="interior-hero clear">
</div>
<div class="span12 follow-hero">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post content clearfix" id="post-<?php the_ID(); ?>">
<div class="span3 no-marg">
<?php the_post_thumbnail(); ?>
</div>
<div class="span5">
<h4><?php the_title(); ?></h4>
<em class="twelve-px"><?php $key="faculty-snapshot-title"; echo stripslashes (wpautop( get_post_meta($post->ID, $key, true))); ?></em>
<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
</div>
<div class="span3">
<ul class="faculty-snapshot-ul no-marg twelve-px">
<li><strong>Office: </strong><?php $key="faculty-snapshot-office"; echo( get_post_meta($post->ID, $key, true)); ?></li>
<li><strong>Phone: </strong><?php $key="faculty-snapshot-phone"; echo( get_post_meta($post->ID, $key, true)); ?></li>
<li><strong>Email: </strong><a href="mailto:<?php $key="faculty-snapshot-email"; echo get_post_meta($post->ID, $key, true); ?>"><?php $key="faculty-snapshot-email"; echo get_post_meta($post->ID, $key, true); ?></a></li>
<li><a href="<?php $key="faculty-snapshot-website"; echo get_post_meta($post->ID, $key, true); ?>"><strong>Department Website</strong></a></li>
</div>
</div>
<?php endwhile; endif; ?>
</div>
<div class="clear"></div>
</div>
</div>
<?php get_footer(); ?>