Skip to content

Instantly share code, notes, and snippets.

@peripatew
Created January 30, 2013 06:12
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 peripatew/4671127 to your computer and use it in GitHub Desktop.
Save peripatew/4671127 to your computer and use it in GitHub Desktop.
page.php
<?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(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment