Pagination loop posts so always showing both previous/next?
Currently the default WordPress pagination will not show a previous button if its the first post on the single.php
Is there anyway to have the posts just loop forever round, so the first post has a next button to the next post and a previous to the last post. For the purpose of a gallery of posts?
Currently i have..
<li class="previous"><?php previous_post_link('%link','<span></span> Prev Project') ?></li> <li class="next"><?php next_post_link('%link','Next Project <span></span>') ?></li>
So just both buttons are always there to navigate in a loop?
- The topic ‘Pagination loop posts so always showing both previous/next?’ is closed to new replies.