• Resolved Flavieh

    (@flavieh)


    I can’t seem to find how to activate the “infinite scroll” function. I’ve activated the function within the Jetpack plugin settings, but in the readings settings I get a message saying this function has been deactivated because it’s also located in my footer widget. Can anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The theme takes care of the infinite scroll settings despite what that message says. Once you’ve enabled the Infinite Scroll module in Jetpack, it should work fine. It’s working on my local copy, and on our demo site here. What happens on your site? Can you share a link to your site?

    Thread Starter Flavieh

    (@flavieh)

    I still have the “older posts” button showing up at the bottom of the page.
    It’s also showing up on your demo site, by the way.

    Here’s my site: https://www.flaviehalais.com/

    Theme Author ArrayHQ

    (@okaythemes)

    Hi Flavieh,

    We use the “click to load” infinite scroll option, versus the infinite scroll that keeps loading posts when you scroll. This button is a little more deliberate and still loads posts without leaving the page.

    I see what you mean. We chose to implement the click type over the scroll type, which lets visitors control when they load versus automatically loading. Once you click the button, the posts load right in place there without taking you to another page.

    You could override that in a child theme by placing this in your child theme’s functions.php file.

    /**
     * Change the Infinite Scroll type to 'scroll'
     */
    function my_theme_infinite_scroll_settings( $args ) {
        if ( is_array( $args ) )
            $args['type'] = 'scroll';
        return $args;
    }
    add_filter( 'infinite_scroll_settings', 'my_theme_infinite_scroll_settings' );

    Thread Starter Flavieh

    (@flavieh)

    Got it. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Infinite scroll’ is closed to new replies.