Changes between Initial Version and Version 1 of Ticket #8107, comment 14
- Timestamp:
- 03/07/2014 07:23:16 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8107, comment 14
initial v1 1 1 In versions 3.8 and less, when using previous/next post links any posts with the same published date and time as the current post are skipped. 2 2 3 In version 3.9, you get stuck in a loop, going back and forth between posts in the same date. This is because the date_query has 'inclusive' => true and we're excluding the current post date.3 In version 3.9, you get stuck in a loop, going back and forth between posts in the same date. This is because the date_query has 'inclusive' => true and we're excluding the current post. 4 4 5 5 I played around with it a bit and couldn't come up with a single WP Query that queried either posts ordered by date with different published dates OR posts ordered by ID with the same published date. Doing 'orderby' => 'date ID' didn't do it.