This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
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?
hri/page-contact.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
77 lines (40 sloc)
2.23 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Contact | |
*/ | |
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 the_title(); ?></h1> | |
<hr class="title-hr" /> | |
<div class="span8 no-marg-left"> | |
<div class="post content clearfix" id="post-<?php the_ID(); ?>"> | |
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2974.045887124853!2d-72.25103724999994!3d41.805771899999996!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89e68a3c5890622d%3A0xeb4c799863ea433e!2sThomas+J.+Dodd+Research+Center!5e0!3m2!1sen!2sus!4v1398369518799" width="640" height="450" frameborder="0" style="border:0"></iframe> | |
<hr class="dotted" /> | |
<div class="contact-bottom"> | |
<h4 class="text-serif">ABOUT THE DODD CENTER</h4> | |
<!-- <div class="contact-thumb-crop"> | |
<div class="contact-thumb no-marg-left span4 "> | |
<?php the_post_thumbnail('medium'); ?> | |
</div> | |
</div> --> | |
<div class="contact-body span8"> | |
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> | |
</div> | |
</div> | |
<?php endwhile; endif; ?> | |
</div> | |
</div> | |
</div> | |
<div class="sidebar"> | |
<?php $sidebar = get_post_meta($post->ID, 'sidebar-a', true); | |
get_sidebar($sidebar); | |
?> | |
</div> | |
</div> | |
</div> | |
<?php get_footer(); ?> |