Skip to content

Instantly share code, notes, and snippets.

@billrobbins
Created December 12, 2011 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billrobbins/1468160 to your computer and use it in GitHub Desktop.
Save billrobbins/1468160 to your computer and use it in GitHub Desktop.
Agency Theme Donate Page Template
<?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