public
Created

template-fullwidth.php

  • Download Gist
template-fullwidth.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
<?php
/*
Template Name: Full Width
*/
 
get_header();
 
?>
<div id="content" class="page col-full">
<div id="main" class="fullwidth">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
<?php if (have_posts()) : $count = 0; ?>
<?php while (have_posts()) : the_post(); $count++; ?>
<div class="post">
 
<h1 class="title cufon"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="entry">
<?php the_content(); ?>
</div><!-- /.entry -->
 
<?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
 
</div><!-- /.post -->
<?php endwhile; else: ?>
<div class="post">
<p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
</div><!-- /.post -->
<?php endif; ?>
</div><!-- /#main -->
</div><!-- /#content -->
<?php get_footer(); ?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.