BLOG

“I still suggest you call
this page 42Lab.
Works for both of us!”
- Joey

WordPress 101: Tips, Tricks and Hacks!

How To Enable Infinite Scrolling on Your WP Site?

Infinite scrolling is an amazing feature on WordPress. This feature enables you to know your user-engagement  through a seemingly endless supply of content. Of the many benefits of infinite scrolling, one of them is giving users a sense of action that keeps them hooked on your website’s content. 

Therefore, do you want your content to automatically load when a user scrolls down and nears the bottom of the page? Worry not, as this tip will help you do just that. To enable infinite scrolling, use the feature with the same name on popular WP plugin – JetPack. 

Install and add the JetPack plugin to your WP site, and add infinite scrolling by adding the following code to your functions file: 

add_theme_support( 'infinite-scroll', array(

‘container' => 'content',

'footer' => 'page',

) );
42 works

Exploring the Future of Apps with Apple

Read Blog

Dream Bigger. Work Greener.
Explore Our New & Sustainable Workspace

READ POLICY
42 works
Get 42Works Blog updates in your Inbox!

    Ohio United States 3.135.200.233 https://42works.net/infinite-scrolling-on-wordpress/