-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
33 lines (25 loc) · 919 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
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<section>
<article id="post-<?php the_ID(); ?>">
<header>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<p>Posted on <?php the_time('F jS, Y'); ?> by <?php the_author(); ?></p>
</header>
<section>
<?php the_content('Read more on "'.the_title('', '', false).'" »'); ?>
</section>
<footer>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</footer>
</article>
</section>
<?php endwhile; else: ?>
<section>
<article>
<p>Sorry, no posts matched your criteria.</p>
</article>
</section>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>