overexposeddesign
Member
Posted 6 months ago #
When I click on another page it doesn't load the appropriate posts.
Things I have tried:
Re-installing plugin
Using previous query I used that has worked
Copying an exact query from authors website
Tried creating a query in almost every way I know possible.
Here is my Query:
[code moderated - plaese follow the forum rules for posting code]
Any ideas? This seems ridiculous to me. There is no reason it should not be working from what I can tell.
http://wordpress.org/extend/plugins/wp-pagenavi/
overexposeddesign
Member
Posted 6 months ago #
The pagination works if it's a query with no arguments at all. Once I make a custom query it doesnt work.
overexposeddesign
Member
Posted 6 months ago #
I was able to narrow the problem down. This problem only seems to be happening when I have my homePage set as static page with this loop as the template file. Not sure why that would affect pagination though.
overexposeddesign
Member
Posted 6 months ago #
Resolved. Found solution here
http://pastebin.com/brK4AM51
use conditional above query to set $paged variable.