Skip to content

Instantly share code, notes, and snippets.

@murraycs
Created January 27, 2012 19:56
Show Gist options
  • Save murraycs/1690612 to your computer and use it in GitHub Desktop.
Save murraycs/1690612 to your computer and use it in GitHub Desktop.
Page template
<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?></p>
</div>
<?php include(TEMPLATEPATH."/sidebar_right_page.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment