I'm experiencing a problem with navigation links and posts per page.
It seems the links "older entries" and "previous entries" are built before the filter on capabilities is executed, when the loop has already done its job.
- I configured wordpress for showing 10 posts per page
- there are 10 posts on first page and 4 on second page before the filter operation (or if I deactivate the plugin)
- when Groups is activated, it removes 3 of them on first page because they are inaccessible to the user: now I only see 7 posts in home, and 4 in second page
This is not what I expected: the user should see 10 posts in home, and 1 in second page...
There are extreme cases in which all the posts in a page are filtered, and I only see an empty page.
I use the theme twentytwelve at the moment, and I build the pagination in this way:
<?php wp_pagenavi(); ?>
Also I tried the plugin WP-Navi but nothing changed...
Do you have any hints?
I hope my problem is clear...