I’ve checked the source code for Slim Jetpack and this task can not be accomplished without rewriting that plugin.
Here are some hints:
-
You’ll have to duplicate line 539 of ‘/modules/infinity-scroll/infinity.php’ stating:
jQuery.extend( infiniteScroll.settings.scripts, <?php echo json_encode( $scripts ); ?> );
-
You’ll have to duplicate line 475 of ‘/modules/infinity-scroll/infinity.js’ as this initializes infinite scroll. (Do you see the variable name match?)
infiniteScroll.scroller = new Scroller( infiniteScroll.settings );
-
What’s more, you’ll have to tweak the module to accept more attributes, or at least
post_type
attribute to be able to determine what post_type to bring for each inifinite loop — this must be done in both JS and PHP (callback for ajax function).
As I’ve said, the plugin would have to be rewritten.
Related Posts:
- How to disable Jetpack modules such as Stats?
- Cannot activate Jetpack on my server
- Popular posts by view with Jetpack
- Gravatar Hovercards (Jetpack) jQuery error
- Jetpack – stats_get_csv period parameter
- Using stats_get_csv to return a list of popular posts by views with thumbnails
- How do I update the site URL used by Jetpack subscribe widget [closed]
- Isotope with Infinite Scroll
- Jetpack infinite scroll not working on Twenty Twelve [closed]
- Can’t connect to my WordPress website using Windows 8 app?
- What does this number represent in JetPack stats? [closed]
- I have a self hosted blog but now the WordPress.com stats plugin has stopped working
- jetpack suddendly stopped working [closed]
- Jetpack social icons in other places on site
- Why I can’t modified jetpack default blank.jpg on og:image?
- How to remove WordPress’ Jetpack plugin completely? [duplicate]
- How do I remove quantcast from my sites?
- Customizing JetPack Publicize Sharing
- Jetpack infinite scroll not working on twentysixteen custom theme
- Change $content_width based on screen size (functions.php)
- Jetpack button location buffering [closed]
- Does Jetpack conflicts with load_template()?
- Hide Jetpack for Contributor [closed]
- How do i import email addresses into WordPress.com subscriptions? [closed]
- Hiding Jetpack Ads from users who are signed in?
- Jetpack Infinite Scroll – changing number of posts
- How to allow users to write jetpack custom post types? [closed]
- Missing Jetpack Contact Form button when running locally [closed]
- Why does Jetpack insert it’s script outside the tag?
- Updating shortlinks from staging [closed]
- Jetpack Publicize and Android
- How can I get the Jetpack Image plugin to open links in a new window? [closed]
- Infinite Scroll on Self-hosted WordPress [closed]
- How to remove Stats by jetpack dashboard widget?
- Publicize in Jetpack stopped working on Custom Post Type it works in Blog Posts
- Jetpack Top post widget (display post views)
- Unable to setup jetpack on my site
- Where does Jetpack store markdown?
- The plugin jetpack/jetpack.php has been deactivated due to an error: Plugin file does not exist
- Jetpack URL shortening, fixing after website URL change
- Infinite scroll function for Twenty Seventeen
- how to disable jetpack for non admins?
- Popular posts – based on pageviews
- Implementing backbone.js to retrieve category posts using JSON API
- Jetpack email sharing button to include image on email sent
- Is there a way to enable a Jetpack module via `functions.php`
- Pageview confusion [closed]
- Jetpack Infinite Scroll, Isotope and ImagesLoaded
- Force Jetpack to not use og:image tag for favicon / Site Icon [closed]
- Using Jetpack to track an Ajax powered blog [closed]
- Jetpack: Access visitor stats in templete
- When would it make sense to use Jetpack?
- WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?
- Slow REST API calls on self-hosted WordPress [closed]
- How to tell if Jetpack’s Photon is active?
- Update Failed: There has been a critical error on your website
- Jetpack plugin – ‘posts_per_page’ not overriding ‘Blog pages show at most’ option, also different values for different post types?
- Jetpack infinite scroll render – make different depending on post type?
- Do I need to use a new WordPress.com account for each Jetpack installation
- How can I show the Jetpack Subscriptions form in a page? [closed]
- Why Jetpack is missing the “Feedbacks” menu item? [closed]
- How do I get a list of popular posts by views?
- What is content.php file that is needed for Jetpack infinite scroll plugin?
- Enable infinite scroll on single.php [closed]
- Facebook Like Button in Jetpack [closed]
- How to change the position of Jetpack sharing icons? [closed]
- What does it mean by “Home page / Archives” in JetPack Site Stats? [closed]
- How to stop xmlrpc attacks without disabling component to allow JetPack to work in WordPress?
- Masonry and Jetpack Infinite Scroll – overlap issue
- Remove ShareDaddy meta box from Pages only
- Hook into Jetpacks Publicize without using a post type
- how to get jetpack’s infinite scroll to work with woocommerce?
- Changing sort order for presentation by Jetpack infinite scroll
- Jetpack post types Portfolio or Testimonials support for custom fields?
- infinite-scroll for 2 fixed height containers
- Filtering get_permalink in Jetpack / ShareDaddy
- Why does akismet prevent jetpack comments from appearing in my moderation queue? [closed]
- How to disable or hide WordPress.com as a social media login option for Jetpack Comments [closed]
- Redirect to another page using contact form 7? [closed]
- Remove “show sharing buttons” metabox Jetpack from custom post type
- Jetpack could not contact wordpress [closed]
- Remove Jetpack infinite-wrap
- Jetpack JSON API configure button not showing [closed]
- Jetpack Infinite Scroll won’t fire [closed]
- Facebook and Twitter share buttons not working [closed]
- WordPress Stats Plugin: Display Post Views [closed]
- Failed to import “File name”: Invalid post type jetpack-portfolio
- Show views count for pop up post
- What is the difference between `Home page / Archieves` and the page set as homepage?
- i1.wp.com url problem (Jetpack not installed)
- How can I disable Jetpack plugin on mobile?
- Jetpack Infinite Scroll Not Working
- basic wordpress api endpoint to serve a key-value dictionary
- Jetpack: Display Site Title when no Site Logo
- Comments template only linking to one post
- Disable Jetpack Publicize for blog but keep for custom post type [closed]
- Infinite scroll loads new posts several times
- I’ve installed Jetpack but can’t edit the CSS to my blog?
- Jetpack Connection Broken [closed]
- query posts only works on the first page