$single not always accurate — suggestions?
-
Hello,
I have the following code in index.html:
<?php if ($single): ?>
<p class=”prevNext”><< <?php previous_post(“%”, “”) ?>
::
<?php next_post(“%”, “”) ?> >>
[…]Okay, so, let us look at:
https://dannyman.toldme.com/category/world-tour/netherlands/page/2/
Versus:
https://dannyman.toldme.com/2002/09/17/first-night/So, what I would like is either:
– A way to get next_post / previous_post to work on “multiple post” pages that happen to be single.
Or:
– A way to detect if next_post / previous_post will generate output.Thanks,
-danny
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘$single not always accurate — suggestions?’ is closed to new replies.