Number of results per page varies
-
Firstly – thanks for this great plugin!
I am experiencing a very strange issue though. The number of results that appear on each page varies. Page 1 might show 1 or 2 results, page 2 the same, page 3 will show 10 results, page 4 about 4 or 5. The last page in any set of results never shows any results.
I’ve tried adding in the fix mentioned on the plugin site namely:
add_filter('post_limits', 'postsperpage'); function postsperpage($limits) { if (is_search()) { global $wp_query; $wp_query->query_vars['posts_per_page'] = 10; } return $limits; }
but it hasn’t fixed this issue.
Any help much appreciated.
T
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Number of results per page varies’ is closed to new replies.