posts_nav_link trouble, excluded posts generate empty pages
-
Please help and pardon me if the answer is posted somewhere else, perhaps someone could direct me to it.
I am using my blog as a blog and cms of sorts. Really the issue is that on my index I am excluding several categories that I do not want to show up within the wordpress loop (they are not “blog” items). The exclusion works within the loop, but then are the foot of the page I include the “posts_nav_link()” function to display new/older posts/post pages. The posts_nav_link function is displaying links to empty pages, and i am assuming it is because it is reading that i have the posts, bt then is being told not to display them.
So say I have 32 total posts, but only 1 in a category that i am trying to display within the wp loop. posts_nav_link generate 3 empty pages (where the first page displays my 1 post and the follwing 3 are empty pages).
Does anyone know how i can fix this? btw i have also tried using te plugin PageNavi, but that still does the same thing… any fixes?
Many thanks!
The topic ‘posts_nav_link trouble, excluded posts generate empty pages’ is closed to new replies.