This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Search results page on mobile causes page to crash

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results page on mobile causes page to crash Reply To: Search results page on mobile causes page to crash

#32768
Ernest MarcinkoErnest Marcinko
Keymaster

It looks like it is a minor glitch with the elementor products grid. Whenever I click on the pagination [1], the other numbers appear.

Try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

add_action('wp_footer', 'wp_footer_fix_elementor_pagination');
function wp_footer_fix_elementor_pagination() {
?>
<script>
  jQuery(function($){
    setTimeout(function(){
		$('.page-numbers.current').trigger('click');
	}, 500);
  });
</script>
<?php
}

Please note that this issue is related to the elementor widget, so I can not guarante a 100% working solution.