WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack Infinite Scroll on custom page template? Is this supported? (2 posts)

  1. cookie_pa
    Member
    Posted 9 months ago #

    Hello,

    I have custom page template where my custom post type "portfolio" posts are listed. I want to add infinite scroll functionality to this page using Jetpack infinite scroll feature. I have my custom loop using WP_Query

    Is this possible? Or Jet pack IS only works on default loops?

    Thanks!

    https://wordpress.org/plugins/jetpack/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Howdy,

    IS particularly doesn't work when used on custom page templates. It grabs the initial query used, which is, in this case, at the page level and not the one executed within the template.

    This would be outside the scope of support, though if you built an archive-portfolio.php and used that to display your portfolios, IS should be able to work in that case.

    Cheers!

Reply

You must log in to post.

About this Plugin

About this Topic