Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (20 sloc) 0.882 kB
579ec1f @tlongren Add unwakeable.
tlongren authored
1 <?php /*
2 This navigation is used on most pages to move back and forth in your archives.
3 It has been placed in its own file so it's easier to change across all of K2
4 */ ?>
5
6 <hr />
7
8 <?php if (is_single()) { ?>
9
10 <div class="navigation">
11 <?php previous_post_link('<div class="left"><span>&laquo;</span> %link</div>') ?>
12 <?php next_post_link('<div class="right">%link <span>&raquo;</span></div>') ?>
13 <div class="clear"></div>
14 </div>
15
16 <?php } else { ?>
17
18 <div class="navigation">
19 <?php $_SERVER['REQUEST_URI'] = preg_replace("/(.*?).php(.*?)&(.*?)&(.*?)&_=/","$2$3",$_SERVER['REQUEST_URI']); ?>
f4f9981 @tlongren Switched textdomain from 'unwakeable_domain' to 'unwakeable'
tlongren authored
20 <div class="left"><?php next_posts_link('<span>&laquo;</span> '.__('Older','unwakeable').''); ?></div>
21 <div class="right"><?php previous_posts_link(''.__('Newer','unwakeable').' <span>&raquo;</span>'); ?></div>
579ec1f @tlongren Add unwakeable.
tlongren authored
22 <div class="clear"></div>
23 </div>
24
25 <?php } ?>
26
27 <hr />
Something went wrong with that request. Please try again.