Tagged: pagination
-
AuthorPosts
-
January 9, 2016 at 4:28 pm #562446
Pagination is still not working on my website after updating to WordPress 4.4.1 and Enfold 3.4.7
Any help would be appreciated
January 9, 2016 at 9:24 pm #562510Hi rcleaver!
can we have backend access?
Best regards,
BasilisJanuary 9, 2016 at 10:16 pm #562521Hello Basilis,
Thank you for your prompt response. I have provided you the information that you need.
Kind regards,
RichardJanuary 11, 2016 at 1:02 pm #563071HI, I have the same problem, pagination not work now… :-(
http://blog.sagne-cuisines.com/Regards.
JeanJanuary 12, 2016 at 8:47 am #563733Hi!
Did you enable the offset option in the blog post element? Please try the solution provided here: https://kriesi.at/support/topic/pagination-on-blog-page-does-not-work-urgent/page/2/#post-562305
Regards,
IsmaelJanuary 12, 2016 at 5:05 pm #564024Hi Basilis, Ismael and others!
Pagination really doesnt work! Even when using 3.4.7. Here are many threads about the issue. You are trying to write some not working code for individuals asking. But it is the problem of all your customers (78.000!!!). Just open any Enfold site on internet. I purchased your theme 3 times and gave best reference for many other people to buy too. It is not problem of wodrpess. It is problem of Enfold. My other websites using another themes are working. Make serious update please. Blog without functional pagination is…
- This reply was modified 8 years, 11 months ago by fekii.
January 12, 2016 at 5:34 pm #564061Hi!
My pagination on http://entscheiderblog.de and http://keynoteblog.de is also off. Strangely enough there should be 10 blog entries per page but the theme only shows 5 entries.January 12, 2016 at 5:44 pm #564067Hi!
We have reported the case to kriesi and he will do give it an extensive look. There might be some issues to the query, which he will investigate an do push an update.
We would appreciate been patience, while we do investigate the issue and try to provide a proper solution.
Best regards,
BasilisJanuary 12, 2016 at 6:40 pm #564102January 13, 2016 at 10:19 am #564471Hey!
@fekii: My bad. The solution provided on the previous thread is meant to work for the product grid’s pagination. However, the same solution should work for the blog posts element. Please edit the blog.php file instead of the productslider.php file. Look for the same line of code:'offset' => $params['offset'],
.. replace it with:
'offset' => !(int)$params['offset'] ? "" : $params['offset'],
Again, look for this line around line 338:
$page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : get_query_var( 'page' );
.. replace it with:
$page = get_query_var( 'paged' ) ? get_query_var( 'paged', 1 ) : get_query_var( 'page', 1 );
@colynsWS: Please test the solution provided above. If it doesn’t work, please create another thread. Post the the FTP details so that we can debug the issue.EDIT: @everyone: A fix will be included on the next update. Please edit the blog.php file, remove everything then replace it with this: http://pastebin.com/pJxDM7ec
Best regards,
IsmaelJanuary 13, 2016 at 10:50 am #564501In witch folder do i find the blog.php?
Regards
January 13, 2016 at 2:05 pm #564691Hi!
I edited /enfold/config-templatebuilder/avia-shortcodes/blog.php for http://entscheiderblog.de but unfortunately it did not change anything. Still no working pagination and only 5 entries instead of 10.January 13, 2016 at 2:35 pm #564714I made the changes to the blog.php and the pagination is still not working.
January 13, 2016 at 10:32 pm #565049Pagination is not working at blog page http://tactikmedia.com/blogue/, Please help.
January 14, 2016 at 5:35 am #565212Hi!
We are really sorry for the inconvenience. The pagination works on our installation so its probably an issue deep within the WP core or probably a server configuration. This is actually a global issue (https://core.trac.wordpress.org/ticket/35344) so I think we should wait for the 4.4.2 update. There are code snippets suggested on the thread that you can test on your installation. Please let us know which one of those hot fixes work.
UPDATE: Please try to modify the wp-includes > query.php file: https://core.trac.wordpress.org/ticket/35344#comment:34
If you set the blog posts elements to “grid”. Modify the postslider.php file, look for this code:
if( $params['offset'] == 0 ) { $params['offset'] = false; }
.. replace it with:
//wordpress 4.4 offset fix if( $params['offset'] == 0 ) { $params['offset'] = false; } else { //if the offset is set the paged param is ignored. therefore we need to factor in the page number $params['offset'] = $params['offset'] + ( ($page -1 ) * $params['items']); }
Again, look for this code around line 571:
'offset' => $params['offset'],
.. replace it with:
'offset' => !(int)$params['offset'] ? "" : $params['offset'],
This file modification along with the query.php patch should fix the issue.
Cheers!
IsmaelJanuary 14, 2016 at 10:32 am #565302Thank you Ismael
Following code solved my problem:
https://core.trac.wordpress.org/ticket/35344#comment:16Regards
PierreJanuary 14, 2016 at 1:11 pm #565372Hi!
For me https://core.trac.wordpress.org/ticket/35344#comment:34 did the trick.
regards
KaiJanuary 14, 2016 at 2:06 pm #565386Hi, same @colynsWS, the solution is : https://core.trac.wordpress.org/ticket/35344#comment:16
Good trick!! :-))Regards.
JeanJanuary 14, 2016 at 5:06 pm #565555Hey!
Great! Glad Ismael could help :)
We will keep the thread open to hear from the OP. If you guys have any other questions or issues, please feel free to start a new thread :)Cheers!
YigitJanuary 15, 2016 at 1:55 am #565823The solution at https://core.trac.wordpress.org/ticket/35344#comment:16 also worked for me. Pagination is now working. Thanks everyone.
-
AuthorPosts
- The topic ‘Pagination not working after WordPress 4.4.1 and Enfold 3.4.7’ is closed to new replies.