• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Integration with Jetpack Infinite Scroll

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Integration with Jetpack Infinite Scroll

This topic is: not resolved

Tagged: code snippet, infinite scroll, jetpack

  • This topic has 5 replies, 5 voices, and was last updated 9 years ago by buddy_boy8403.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 3, 2012 at 10:55 am #3079
    TishaOehmen
    Participant

    I'm trying to integrate the new jetpack infinite scroll (http://jetpack.me/support/infinite-scroll/)  into a genesis child theme (modified driskill), but it doesn't seem to be working as expected. Has anyone successfully integrated it at this point? Is there a code snippet available?


    Tisha Oehmen, Paradux Media Group
    Twitter: @TishaOehmen

    December 3, 2012 at 6:09 pm #3163
    nickthegeek
    Member

    I just did this yesterday. I'm still working with it because there is some output I'm not super excited with, but this is the code you can add to your functions.php file

    /**
    * Add theme support for infinite scroll
    *
    * @uses add_theme_support
    * @action after_setup_theme
    * @return null
    */
    function ntg_infinite_scroll_init() {
    add_theme_support( 'infinite-scroll', array(
    'container' => 'content',
    'footer' => 'footer',
    'render' => 'genesis_do_loop'
    ) );
    }
    add_action( 'after_setup_theme', 'ntg_infinite_scroll_init' );

    I'll be writing a tutorial on this once I'm happy with everything.

    December 3, 2012 at 11:16 pm #3206
    TishaOehmen
    Participant

    Cool thanks so much Nick! I'll give it a try and be sure to watch for you tutorial. 🙂


    Tisha Oehmen, Paradux Media Group
    Twitter: @TishaOehmen

    December 15, 2012 at 4:38 pm #5463
    Bryan Morgan
    Member

    I too would like to add this feature but now run about 20 sites built on Genesis Child themes.  Is this something that may naturally make its way into something like Genesis 1.9?

    May 9, 2014 at 7:33 pm #104364
    Ronz
    Member

    Yes, I would like to see "Infinite Scroll" added to all Genesis themes please.

    May 10, 2014 at 3:39 pm #104474
    buddy_boy8403
    Member

    Awesome, Nick... Thanks for the snippet.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble