Forums › Forums › Search & Filter Pro › Next page button error
- This topic has 28 replies, 3 voices, and was last updated 8 years, 11 months ago by
Anonymous.
-
Ross Moderator(Private) July 25, 2016 at 10:05 pm #52156
Hey again.
Ok so I took a look – in this case it seems to be the issue was coming from the pagination function in your theme…
This was found in
raakbookoo\library\extensions\loop-pagination.php
– there was a whole load of unusual things it seemed going on in there, but fortunately they added a filter for updating the pagination 🙂So, all you have to do now is add the following code to
functions.php
:function loop_pagination_args_sf($args) { if(is_shop()) { $big = 999999999; // need an unlikely integer $args['base'] = str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ); } return $args; } add_filter("loop_pagination_args", 'loop_pagination_args_sf');
This worked for me locally – however as you weren’t using a child theme I didn’t want to test the code directly on your site.
Let me know
Thanks
Ross Moderator(Private) July 26, 2016 at 12:27 am #52162The headers warning is because there is output in your functions.php..
What I would suggest is to place the code directly above the line 1120:
add_filter('woocommerce_registration_errors', 'registration_errors_validation', 10,3);
Once you’ve done that let me know and i’ll take another look
-
AuthorPosts