Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
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(); ?>
You can’t perform that action at this time.