Make next/prev post chronological right:newer

This commit is contained in:
Markus Ankenbrand 2016-09-24 10:50:05 +02:00
parent a6681e0d02
commit f719e18149

View file

@ -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">