Created
December 12, 2011 16:51
-
-
Save billrobbins/1468160 to your computer and use it in GitHub Desktop.
Agency Theme Donate Page Template
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: Donate Page | |
*/ | |
?> | |
<?php get_header(); ?> | |
<div id="header-background"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<?php | |
if ( has_post_thumbnail() ) | |
the_post_thumbnail( 'header-image' ); | |
else | |
ot_cycle(); | |
?> | |
</div> | |
</div><!-- End Header --> | |
<?php include(TEMPLATEPATH."/includes/donation-bar.php");?> | |
<div id="page"> | |
<div id="page-left"> | |
<h1><?php the_title(); ?></h1> | |
<?php the_content(__('[Read more]'));?> | |
<?php endwhile; else: ?> | |
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?> | |
<div class="clear"></div> | |
</div><!--Close Page Left --> | |
<div id="page-right"> | |
<?php dynamic_sidebar( 'page' ); ?> | |
</div><!--Close Page Right --> | |
<div class="clear"></div> | |
</div><!--Close Page --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment