Created
January 30, 2013 06:12
-
-
Save peripatew/4671127 to your computer and use it in GitHub Desktop.
page.php
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 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