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

Why do Market Leaders rely on Social Listening?

Read Blog

42Works announces COVID-19 relief measures for all its team members

Read Policy
42 works
Get 42Works Blog updates in your Inbox!

    Virginia United States 3.233.219.62 https://42works.net/infinite-scrolling-on-wordpress/