Comments (19)
@jeherve I put this together. Something you'd be interested in looking at to formally support?
from jetpack.
@danielbachhuber does it currently work as a standalone plugin by chance? (Hooking in with Jetpack)
from jetpack.
Yeah, the code is in the theme. I'll be working out some kinks tomorrow morning probably, and then I can share how I did it for reference.
from jetpack.
Cool. If you want to toss it into a standalone plugin it will be an easy way for people to test it, and a bonus of still being around/available if it is not in Jetpack
from jetpack.
Yay! I gave up on this already. I'll test it :)
On Thu, Jun 5, 2014 at 1:50 AM, Ben Lobaugh [email protected]
wrote:
Cool. If you want to toss it into a standalone plugin it will be an easy
way for people to test it, and a bonus of still being around/available if
it is not in Jetpack—
Reply to this email directly or view it on GitHub
#79 (comment).
from jetpack.
@danielbachhuber I keep seeing this happening more and more in the wild, from The Daily Beast to Forbes. I don't think it would be ideal to ship with Jetpack for the moment as it requires some definite theme integration, but would be delighted to promote an addon if you ship one for it.
from jetpack.
It's a pretty massive hack, to be honest. I'll be spending more time with it to determine whether piggy-backing on IS is a long-term sustainable approach, or whether we'll need to roll our own.
from jetpack.
👍 Either way, it sounds awesome, whether it uses Infinite Scroll as a core or not.
As an aside, I'm kinda hoping twentyfifteen tries something similar using the REST API in 4.1.
from jetpack.
Hats off to you guys for how easy this was :) Happy to share a demo via Skype. I'd like to get your opinions on it before I publish as "the way to do it"
from jetpack.
Just flag me down at Seattle this weekend. I'll be there along with @blobaugh, @rase-, and @enejb. :)
from jetpack.
username: tnosugar
I can only give feedback from a user perspective of course.
On Tue, Jun 24, 2014 at 1:30 AM, George Stephanis [email protected]
wrote:
Just flag me down at Seattle this weekend. I'll be there along with
@blobaugh https://github.com/blobaugh, @rase- https://github.com/rase-,
and @enejb https://github.com/enejb. :)—
Reply to this email directly or view it on GitHub
#79 (comment).
from jetpack.
As this would be a nice feature, it's not something that will be part of Jetpack core. However, @danielbachhuber if there's any filters or something we can provide that will help your standalone plugin?
Moving this into the 3.8 milestone for now, if no action here by then we'll close it
from jetpack.
@danielbachhuber Please reopen if you can think of any hooks or something we can add to help your plugin
from jetpack.
Also requested here:
https://wordpress.org/support/topic/to-implement-infinite-scroll-on-singlephp?replies=1&view=all
Worth noting that this was implemented in this plugin, and it looks like the plugin was based off Jetpack's Infinite Scroll module:
https://github.com/tomharrigan/transporter/blob/master/transporter.php
cc @eliorivero, since we talked about a somewhat related feature not that long ago.
from jetpack.
Also suggested in p1HpG7-4su-p2
from jetpack.
Is this feature is still needed? I agree with @dereksmart's statement that this feature would not be a part of Jetpack core.
from jetpack.
Closing this for now because of the lack of activity on this. We can always reopen in the future if needed.
from jetpack.
@jeherve mentioned in one of the discussions that the feature won't be implemented because it will need different templates for different themes. I've tried this plugin https://wordpress.org/plugins/infinite-transporter/ which seems like created based on the Jetpack infinite scroll code. It works, but not perfectly. It was last updated 5 years ago.
From what I can understand, the only major difference would be the requirement to create a template file that can be used to generate the posts. Apart from that, it is "doable". In my opinion, it is such a wastage of the amazing Infinite Scroll code that already exists on Jetpack.
I am not getting into the benefits of Infinite Scroll, you already know the benefits like increased pageviews, user engagements, etc. So, it is definitely a crucial feature.
Apart from that, unlike many other features, there isn't a single plugin on the market (that is actively maintained), which enables the infinitely scrolling on single posts.
So, if the user can create their own template files for specific themes and make the feature work, I don't think Jetpack team will have to make it compatible with every single theme out there. Webmasters can find their own way. There are theme developers and a large community that will help each other with any specific theme that can make use of the feature in Jetpack.
The only thing that the Jetpack team would have to do is making it a bit simple. Everything except the functions or files that are specific to the themes. And maybe provide a doc or something on how to make it work with different themes. Where to put the template code, etc.
Implementing this feature will be a great achievement for every single Jetpack user. Most of the big sites such as CNET already taking advantage of the feature. And an average WordPress user has no plugins to do that except if they pay large amounts to developers. The only plugin that was working (the ALNP) also stopped providing updates a year back.
from jetpack.
You will find a working example using Jetpack infinite scroll on single post pages on George's blog post
He is using the infinite_scroll_archive_supported
hook to add support for the single template while the infinite_scroll_js_settings
will let us personalize the JS settings for the single page template.
from jetpack.
Related Issues (20)
- [Boost] When a cached page is served, send a "cached" header rather than HTML comment.
- [Boost] Refresh the cached /author/ archives when a post is changed.
- [Boost] Do not cache more well known non-HTML pages like robots.txt HOT 1
- [Boost] Improve ISA throttling
- WPML issue : can't analyse strings of WooCommerce using Jetpack HOT 1
- Beta: cannot manage standalone plugin branches from Multisite admin interface HOT 2
- Feature Request: Allow sorting search results by title HOT 1
- [Boost] Cache log viewer should have filters
- [Boost] Cache logs should display GET parameters HOT 2
- [Boost] Logger::pid needs to be accessed correctly in log()
- [DataSync] No Mutation Shared State
- [DataSync] Clean up `DataSyncHooks.ts`
- [DataSync] Deprecate Svelte
- Jetpack Inspect
- [DataSync] Documentation
- [Boost] Add an API using WordPress actions so other plugins can interact with the cache. HOT 1
- WooCommerce Analytics: require the package in the WooCommerce plugin. HOT 2
- Add new assets for page redesign
- Sharing Buttons Block v2 - first iteration
- Selecting Post Only option still sends email to some users HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetpack.