-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
41 lines (27 loc) · 960 Bytes
/
single.php
File metadata and controls
41 lines (27 loc) · 960 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php get_header() ?>
<div class="sleeve_main">
<div id="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post() ?>
<div class="controls">
<a href="#" id="togglecomments"><?php _e( 'Hide threads', 'p2' ); ?></a>
|
<a href="#directions" id="directions-keyboard"><?php _e( 'Keyboard Shortcuts', 'p2' ); ?></a>
</div>
<ul id="postlist">
<?php p2_load_entry() // loads entry.php ?>
</ul>
<?php endwhile; ?>
<?php else : ?>
<ul id="postlist">
<li class="no-posts">
<h3><?php _e( 'No posts yet!', 'p2' ) ?></h3>
</li>
</ul>
<?php endif; ?>
<div class="navigation">
<p><?php previous_post_link( '%link', __( '← Older Posts', 'p2' ) ) ?> | <?php next_post_link( '%link', __( 'Newer Posts →', 'p2' ) ) ?></p>
</div>
</div> <!-- main -->
</div> <!-- sleeve -->
<?php get_footer() ?>