-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpage.php
36 lines (28 loc) · 1.21 KB
/
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
<?php get_header(); ?>
<div id="primary">
<div class="inside">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<br class="clear" />
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
<?php endwhile; endif; ?>
</div>
</div>
<hr class="hide" />
<div id="secondary">
<div class="inside">
<?php if ('open' == $post-> comment_status) {
// Comments are open ?>
<div class="comment-head">
<h2><?php comments_number('No comments','1 Comment','% Comments'); ?></h2>
<span class="details"><a href="#comment-form">Jump to comment form</a> | <?php comments_rss_link('comments rss'); ?> <a href="#what-is-comment-rss" class="help">[?]</a> <?php if ('open' == $post->ping_status): ?>| <a href="<?php trackback_url(true); ?>">trackback uri</a> <a href="#what-is-trackback" class="help">[?]</a><?php endif; ?></span>
</div>
<?php } elseif ('open' != $post-> comment_status) { ?>
<?php } ?>
<?php comments_template(); ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>