Skip to content
This repository has been archived by the owner. It is now read-only.
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
 
 
Cannot retrieve contributors at this time
<?php
/*
Template Name: Profile Page (Affiliated Faculty)
*/
get_header(); ?>
<div class="row profile-mobile">
<div class="span3 floatleft">
<?php the_post_thumbnail('large');; ?>
</div>
<div class="span8 floatleft profile-details-container">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post content clearfix" id="post-<?php the_ID(); ?>">
<h1 class="faculty-name">
<?php the_title(); ?>
</h1>
<p class="faculty-title"><?php $key="Faculty-Title"; echo get_post_meta($post->ID, $key, true); ?></p>
<div class="profile-float-left">
<h4 class="profile">Contact</h4>
<div class="Faculty-Contact">
<?php $key="Faculty-Contact"; echo get_post_meta($post->ID, $key, true); ?>
</div>
<br />
<h4 class="profile">Office Location</h4>
<div class="Faculty-Office-Location">
<?php $key="Faculty-Office-Location"; echo get_post_meta($post->ID, $key, true); ?>
</div>
</div>
<div class="profile-float-right">
<h4 class="profile">Mailing Address</h4>
<div class="Faculty-Mailing-Address">
<?php $key="Faculty-Mailing-Address"; echo get_post_meta($post->ID, $key, true); ?>
</div>
<br />
<h4 class="profile">Office Hours</h4>
<div class="Faculty-Office-Hours">
<?php $key="Faculty-Office-Hours"; echo get_post_meta($post->ID, $key, true); ?>
</div>
</div>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<div class="row">
<div class="entry profile">
<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php get_footer(); ?>