Skip to content

Commit b0d6ec8

Browse files
committed
Nav fix
1 parent f33c1d9 commit b0d6ec8

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/inc/navigation.php

+12-14
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22

33
// Post navigation, a bare bones implementation
44
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">&larr; </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"> &rarr;</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">&larr; </span>Previous', 'voidance' ) ); ?>
1710
</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"> &rarr;</span>', 'voidance' ) ); ?>
14+
</div>
15+
<?php } ?>
16+
</div>
17+
</nav><?php
2018
} endif;

0 commit comments

Comments
 (0)