public
Created

page.php

  • Download Gist
gistfile1.txt
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 40 41 42 43 44 45
<?php get_header(); ?>
 
<!--BEGIN #primary .hfeed-->
<div id="primary" class="hfeed">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 
<?php zilla_page_before(); ?>
<!--BEGIN .hentry-->
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<?php zilla_page_start(); ?>
<?php if ( current_user_can( 'edit_post', $post->ID ) ): ?>
<!--BEGIN .entry-meta .entry-header-->
<div class="entry-meta entry-header">
<?php edit_post_link( __('edit', 'zilla'), '<span class="edit-post">[', ']</span>' ); ?>
<!--END .entry-meta .entry-header-->
</div>
<?php endif; ?>
 
<!--BEGIN .entry-content -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'zilla').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<!--END .entry-content -->
</div>
<?php zilla_page_end(); ?>
<!--END .hentry-->
</div>
<?php zilla_page_after(); ?>
<?php
zilla_comments_before();
comments_template('', true);
zilla_comments_after();
?>
 
<?php endwhile; endif; ?>
<!--END #primary .hfeed-->
</div>
<?php get_sidebar(); ?>
 
<?php get_footer(); ?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.