After I have updated my website to wordpress 3.4 the navigation pages work until page 10, and on categories the pages are not working even after page 2-3.... I don't understand why ? here you can see paper-backgrounds.com
I found a solution somewhere here, but it solved the problem only for the blog posts pages index (tags, categories and search still not working)
After I have added this code to theme functions
function my_post_queries( $query ) {
// not an admin page and it is the main query
if (!is_admin() && $query->is_main_query()){
if(is_home()){
$query->set('posts_per_page', 1);
}
}
}
add_action( 'pre_get_posts', 'my_post_queries' );
the pagination of the home/blog posts works correctly, but search, category and tags pagination is still does not work after a certain number of pages, what can I do ?
I think in one of these two files is the problem.
Here is blogstyle.php http://pastebin.com/k2tY1PVn
and defaultindex.php http://pastebin.com/Lkz2Xgf5

