Read a question and i know how to stop the infinite scroll which is to removethe following from functions.php
” wp_enqueue_script( ‘wallpress_jquery_infinite’, get_template_directory_uri().’/assets/js/jquery.infinitescroll.min.js’, array( ‘jquery’ ) ); “
now with that done, where should i put the code if i want to use this – http://wordpress.org/plugins/wp-pagenavi/
1 Answers
Hi Dustyhawk !
After removing the following code in the functions.php file:
wp_enqueue_script( 'wallpress_jquery_infinite', get_template_directory_uri().'/assets/js/jquery.infinitescroll.min.js', array( 'jquery' ) );
If you use the wp-pagenavi plugin, please open the home.php file then add the following code in the line 41:
<?php wp_pagenavi(); ?>
See the screenshot: Hope this helps !
perfect. works as how i wanted it to be
Yes!
Perfect!
Please login or Register to submit your answer