forked from iamamused/wp-theme-html5-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
26 lines (20 loc) · 750 Bytes
/
page.php
File metadata and controls
26 lines (20 loc) · 750 Bytes
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
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
<header>
<h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
</header>
<section>
<?php the_content('Read the rest of this entry »'); ?>
</section>
<footer>
<?php wp_link_pages('before=<div class="post-page-links">Page:&after=</div>'); ?>
<?php edit_post_link('Edit this page', '<p>', '</p>'); ?>
</footer>
</article>
<?php endwhile; ?>
<?php comments_template(); ?>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>