Make next/prev post chronological right:newer
This commit is contained in:
parent
a6681e0d02
commit
f719e18149
1 changed files with 3 additions and 2 deletions
|
|
@ -128,8 +128,9 @@
|
||||||
</div> <!-- /post-meta -->
|
</div> <!-- /post-meta -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$prev_post = get_previous_post();
|
// swap prev and next to get chronological order (oldest first)
|
||||||
$next_post = get_next_post();
|
$next_post = get_previous_post();
|
||||||
|
$prev_post = get_next_post();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="post-navigation">
|
<div class="post-navigation">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue