WordPress.org

Support

Support » Themes and Templates » Scrappy » [Resolved] Infinite Scroll support

[Resolved] Infinite Scroll support

Viewing 2 replies - 1 through 2 (of 2 total)
  • i just followed the jetpack instruction and added the support myself only by adding these lines to the functions.php file:

    ————-
    /**
    * setup infinite scrolling
    */
    function scrappy_infinite_scroll_init() {
    add_theme_support( ‘infinite-scroll’, array(
    ‘container’ => ‘content’
    ) );
    }
    add_action( ‘after_setup_theme’, ‘scrappy_infinite_scroll_init’ );
    ————-

    i am no theme developer, so i am not sure if i broke anything, but till then, it seams to work nicely.

    Would you include it in the theme?

    Theme Author Caroline Moore

    @sixhours

    Hi! Yes, eventually all my themes will support Infinite Scroll. Glad you’ve figured it out in the meantime!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Infinite Scroll support’ is closed to new replies.
Skip to toolbar