Pagination for tags
-
I have a blod and am using the default paging feature supplied in wordpress to get pagination. It works for normal posts. for example the url might be:
But when it comes down to tags.. the first page loads:
But when I press the page 2 button (to show the last post entry in the tags for whatever I get an error page (Chrome) Oops! This link appears to be broken.
https://www.*.*/tag/whatever/page/2/
Any ideas?
The code is:
[Code moderated as per the Forum Rules. Please use the pastebin]
pastebin: https://pastebin.com/e336RXs8
The //…//… is the wordpress loop through the posts… If I strip anything from inside there, it still causes the error on the tag page… So it’s something to do with the url i’d imagine.
P.S The bottom part is inside a function so don’t worry about the repeated globals.
- The topic ‘Pagination for tags’ is closed to new replies.