Forums › Forums › Search & Filter Pro › Pagination not working
Tagged: pagination
- This topic has 8 replies, 2 voices, and was last updated 8 years, 11 months ago by Ross.
-
Anonymous(Private) November 20, 2015 at 5:50 am #30284
Hi Ross,
I think I might have the same problem as this guy: https://support.searchandfilter.com/forums/topic/issue-theme-pagination-and-one-taxonomy-filter/. At some point, my pagination stopped working. The “&sf_paged=xx” is no longer appended to my pagination links, so its impossible to get off the first page.
I’m using a results template that does not use wp_pagenavi (i’d like to avoid installing/customizing another plugin if I possibly can, since this was working fine in a previous SF version). This is my pagination code, pretty standard stuff:
`echo paginate_links( array(
‘base’ => str_replace( 999999999, ‘%#%’, esc_url( get_pagenum_link( 999999999 ) ) ), // for search and archives: https://codex.wordpress.org/Function_Reference/paginate_links#Examples
‘current’ => max( 1, ctfw_page_num() ), // ctfw_page_num() returns/corrects $paged so pagination works on static front page
‘total’ => $query->max_num_pages,
‘type’ => ‘list’,
‘prev_text’ => sprintf( _x( ‘%s Previous’, ‘pagination’, ‘exodus’ ), $icon_left ),
‘next_text’ => sprintf( _x( ‘Next %s’, ‘pagination’, ‘exodus’ ), $icon_right ),
) );`I know you mentioned and update you sent to the other thread … is there a known solution to this?
Thanks,
GregRoss Moderator(Private) November 25, 2015 at 2:13 pm #30734Hey Greg
I’ll get another version over to you today – hopefully it will fix this issue.
Thanks
Ross Moderator(Private) November 25, 2015 at 3:39 pm #30740Hi Greg
I’ve just emailed you an update – let me know if this fixes your issue.
Thanks
Anonymous(Private) December 1, 2015 at 3:44 am #31096Hey Ross,
Looks like a few of us are having issues with pagination. Do you happen to know the version in which this first became an issue? If so, maybe you could provide a rollback until there is an update? If not, maybe if you give me some of the previous versions I can test them on my dev site for you.
Ross Moderator(Private) December 1, 2015 at 6:39 pm #31144Hey both
I’ve just sent you an email so you have my email address.
Could you both email your wp-admin logins and ftp details?
There is some serious debugging that I need to do – if I have both your logins I’m hoping to get this resolved tomorrow.
Greg, unfortunately if you are using the display method “post type archive” then this was only available since 2.0, in which I believe this bug has always presented itself in certain environments.
Thanks
-
AuthorPosts