live page:
http://www.marlinorchards.com/posts/uncategorized/page/5/
Also: Despite showing PAGE 5 in the URL, the pagination is showing PAGE 1 as active.
🙁
HELP!
Hi There.
I have used this plugin before with no problems. But sadly on my latest site I am having the same problem even when reusing code which worked previously.
Any Ideas, is this plugin broken in the new version of WP?
Update.
I have spent hours reading through posts on the net on this subject and despite my best efforts I cannot get this to work.
The problem seems to lie in:
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
as this variable only ever has a value of 1 even though the page/number displays correctly in the url.
I’ve tried:
$paged = (get_query_var(‘page’)) ? get_query_var(‘page’) : 1;
same result.
and various positions of wp_reset_query();
What little hair I have left is now being pulled out.
Can anyone point me in the right direction?
Hi All.
For anyone who is looking for this.
In my case the problem was being caused by the page slug.
I had the search results page name and the page’s slug set to the same and this was causing a conflict with the .htaccess file rewrite rules and breaking the pager variable.
Hope this helps someone.
Hello jinwha!
Any idea why my page isn’t showing Pagination?!
This is the PasteBin link: http://pastebin.com/P170mUx9
Here is the page missing the Pagination: http://www.tartanhomecomfort.com.php53-6.ord1-1.websitetestlink.com/latest/protips/
Please help!
Thanks,
Ryan
Hi Ryan.
Try wrapping the page-navi in a div ( for testing ) and try using: if(function_exists(‘wp_pagenavi’)) {
wp_pagenavi();
echo “it works”;}
If it dont do the echo you know the function is not being called.
Also try disabling the side bar to see what happens.
What number is the “Blog pages show at most” in wp-admin > Settings > Reading? Do you have more pro tips posts than that setting?
Bingo!
It was the Reading setting. I had it too high for the amount of posts I actually had. So simple, but over looked. I really appreciate the help!
Take care,
Ryan