Advertisement
deliciousthemes

Haze - Contact Template

Aug 25th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.05 KB | None | 0 0
  1. <?php
  2. /*
  3.  Template Name: Contact
  4. */
  5. ?>
  6.  
  7. <?php get_header(); ?>
  8.         <div class="space"></div>
  9.     <?php if (have_posts()) : while (have_posts()) : the_post();
  10.        
  11.         get_template_part('includes/homepage-slider');  ?>
  12.    
  13.         <section class="page-title">
  14.             <div class="double-separator"></div>
  15.             <div class="breadcrumbs">
  16.                 <div class="two-third align-left">
  17.                     <?php if (function_exists('dt_breadcrumbs')) dt_breadcrumbs(); ?>
  18.                 </div>
  19.                
  20.                 <div class="one-third column-last align-right">
  21.                 <?php              
  22.                 //get meta
  23.                     $tagline = get_post_meta($post->ID, 'haze_tagline', TRUE); 
  24.                     if(!empty($tagline)) {  echo $tagline; }
  25.                 ?>                             
  26.                 </div>
  27.             </div><!--end breadcrumbs-->
  28.             <div class="double-separator"></div>
  29.         </section>
  30.     </div><!--end top-->
  31.    
  32.     <div class="centered-wrapper">
  33.         <section>
  34.             <article id="post-<?php the_ID(); ?>">
  35.                 <section>
  36.                     <?php the_content(); ?>
  37.                 </section>
  38.             </article>
  39.         </section>
  40.  
  41.     <?php endwhile; ?>
  42.  
  43.     <?php endif; ?>
  44.  
  45.     </div><!--end centered-wrapper-->
  46.  
  47. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement