This has been pretty well documented but one more article only increases the odds that someone finds what they are looking for sooner
I run into this issue with a lot of sites I create since most of these sites are using WordPress for their full cms and blog.
When using the query posts function in a page it overrides pretty much every other function that WordPress uses to find posts including the one for pagination. So the solution is to recreate the pagination through the “paged” parameter.
Here is the code:
Actually, you should be using “posts_per_page” rather than “showposts”
Yep, you’re right. I am always forgetting what is depreciated. I tend to copy and paste a lot of my old code…should probably get out of that habit
This will improve my wordpress blog a lot. Thx for all those usefull tips and tricks.