WordPress.org

Ready to get started?Download WordPress

Forums

Scrappy
[resolved] Infinite Scroll support (3 posts)

  1. eveslage
    Member
    Posted 1 year ago #

    Hello,

    is there any chance that the scrappy theme, which i love really love, will support the "Infinite Scroll" feature from the JetPack Plugin? This would be an great enhancement.

    http://jetpack.me/support/infinite-scroll/

    Thanks for considering.
    Ingmar

    http://wordpress.org/extend/themes/scrappy/

  2. eveslage
    Member
    Posted 1 year ago #

    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?

  3. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags