Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Change Pagination to Endless Scrolling

New Front EN Support Forums Ikebana Theme Support Change Pagination to Endless Scrolling Reply To: Change Pagination to Endless Scrolling


I’ve inserted the code into the parent theme’s header-functions.php instead of the child’s and it works now ;)

For the record, in total during the setup of the Infinite Scroll I’ve made changes to the following files:
– added folder /infinitescroll/ to the parent theme’s /scripts/ folder
– modified parent’s “functions.php”
– modified parent’s “header-functions.php”
– modified child’s “page_portfolio.php”

Important notice: the plugin does not take into account sticky posts in its architecture, thus in case you have sticky posts, they will keep re-appearing at the very bottom of the page once you scroll all the way down; it is therefore advised not to have sticky portfolio projects while the plugin is active.

Andrew / Satori Studio