Commit b0d6ec8 1 parent f33c1d9 commit b0d6ec8 Copy full SHA for b0d6ec8
File tree 1 file changed +12
-14
lines changed
1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 2
2
3
3
// Post navigation, a bare bones implementation
4
4
if ( !function_exists ( 'voidance_post_navigation ' ) ) : function voidance_post_navigation () {
5
- //if ( is_paged() ) {
6
- ?> <nav class="nav-posts" role="navigation">
7
- <div class="nav-links">
8
- <?php if ( get_previous_posts_link () ) { ?>
9
- <div class="nav-previous">
10
- <?php previous_posts_link ( __ ( '<span class="nav-arrow">← </span>Previous ' , 'voidance ' ) ); ?>
11
- </div>
12
- <?php } if ( get_next_posts_link () ) { ?>
13
- <div class="nav-next">
14
- <?php next_posts_link ( __ ( 'Next<span class="nav-arrow"> →</span> ' , 'voidance ' ) ); ?>
15
- </div>
16
- <?php } ?>
5
+ ?> <nav class="nav-posts" role="navigation">
6
+ <div class="nav-links">
7
+ <?php if ( get_previous_posts_link () ) { ?>
8
+ <div class="nav-previous">
9
+ <?php previous_posts_link ( __ ( '<span class="nav-arrow">← </span>Previous ' , 'voidance ' ) ); ?>
17
10
</div>
18
- </nav><?php
19
- //}
11
+ <?php } if ( get_next_posts_link () ) { ?>
12
+ <div class="nav-next">
13
+ <?php next_posts_link ( __ ( 'Next<span class="nav-arrow"> →</span> ' , 'voidance ' ) ); ?>
14
+ </div>
15
+ <?php } ?>
16
+ </div>
17
+ </nav><?php
20
18
} endif ;
You can’t perform that action at this time.
0 commit comments