WordPress Speed Up Service | WordPress Website Maintenance Packages I've 4 categories and each of it has between 10 and 40 posts. I activated the prev-next pagination on posts, but when I arrive at the last/first post of category X, the pagination doesn't loop within the category, but it shows the first/last of the prev/next category. How can I make the pagination looping inside the category the current post is? Example: I'm on a post in category 'Name 1', and I'd like to have the pagination that goes between the next and previous post of the category 'Name 1' again. Here there's the 3 snippets of code I believe might make the difference pagination.php: http://pastebin.com/KEG6rTLA category.php: http://pastebin.com/yV97zygW single.php: http://pastebin.com/8h5xNAKj I've been struggling with this for so long, if someone can help me would be really appreciated Thank you!