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?
hale/page-withsidebar.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25 lines (24 sloc)
664 Bytes
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: Default w/Sidebar | |
*/ | |
get_header(); ?> | |
<div class="row" id="primary"> | |
<div class="span9"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div class="post content clearfix" id="post-<?php the_ID(); ?>"> | |
<h2> | |
<?php the_title(); ?> | |
</h2> | |
<div class="entry"> | |
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> | |
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> | |
</div> | |
</div> | |
<?php endwhile; endif; ?> | |
</div> | |
<div class="span3"> | |
<?php get_sidebar('Sidebar'); ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |