/
page.php
38 lines (27 loc) · 937 Bytes
/
page.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
<?php get_header(); ?>
<div id="content" class="section">
<?php bf_above_content() ?>
<?php if (have_posts()) : the_post(); ?>
<?php bf_above_post() ?>
<div <?php bf_post_class() ?>>
<?php bf_pageheader() ?>
<div class="entry-content">
<?php bf_postmeta() ?>
<?php the_content( __('<p>Read the rest of this entry »</p>', 'buffet') ); ?>
<?php wp_link_pages(array('before' => __('<p class="entry-nav"><strong>Pages:</strong> ', 'buffet'),
'after' => '</p>', 'next_or_number' => 'number')); ?>
</div><!-- .entry-content -->
</div>
<?php bf_below_post() ?>
<?php if ( get_post_custom_values('comments') ) : ?>
<a name="comments"></a>
<?php comments_template('', true); ?>
<?php bf_below_comments() ?>
<?php endif; ?>
<?php else: ?>
<?php bf_post_notfound() ?>
<?php endif; ?>
<?php bf_below_content() ?>
</div><!-- #content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>