evo_x
Forum Replies Created
-
Forum: Plugins
In reply to: [Faster Image Insert] the plugin ruined all my attachments linkssolved, I have changed the permalink to /%postname%/ instead of /%category%/%postname%/ and now it works…
Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreThanks keesiemeijer, I have added this line
if(is_home() || is_category() || is_tag() || is_search() ){and now it works 🙂
sorry, the first time I used your line I put it in a wrong place and it did not work.Now this code works for me:
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() || is_category() || is_tag() || is_search() ){ $query->set('posts_per_page', 1); } } } add_action( 'pre_get_posts', 'my_post_queries' );Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreI added your code instead of mine to functions.php and now the paging does not work even for the home page (which worked before) 🙁 the same thing happpens, after a certain number of pages it returns 404 error.
so I had to put back my code, to have at least the home blog posts paging 🙁
Forum: Themes and Templates
In reply to: WordPress 3.4 broke my paginaton setupthis code solved the problem for me only for the homepage index, in categories and tags still the same problem, did you check the tags and categories ?
Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreI have tried other 2 themes and it has the same problem.
Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreIt seems that in WP 3.4 has changed the pagination, now everybody is affected, but no one can give a solution
Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreI think in one of these two files is the problem.
Here is blogstyle.php http://pastebin.com/k2tY1PVn
and defaultindex.php http://pastebin.com/Lkz2Xgf5Forum: Themes and Templates
In reply to: After WP 3.4 Upgrade the pagination setup not working anymoreI have Blog pages show at most: 20
For 3 days I am looking for a solution, but nothing works 🙁you can see here http://paper-backgrounds.com/category/abstract-backgrounds/
the pagination on this category works until page 7, after that I get 404 and on other categories or tags the pages which work are different.
on the home page it displays all pages, after I have added the above code with the pre_get_posts.Forum: Themes and Templates
In reply to: WordPress 3.4 broke my paginaton setupI have the same problem.
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 ?