GithubHelp home page GithubHelp logo

Comments (19)

danielbachhuber avatar danielbachhuber commented on May 27, 2024

@jeherve I put this together. Something you'd be interested in looking at to formally support?

from jetpack.

blobaugh avatar blobaugh commented on May 27, 2024

@danielbachhuber does it currently work as a standalone plugin by chance? (Hooking in with Jetpack)

from jetpack.

danielbachhuber avatar danielbachhuber commented on May 27, 2024

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.

blobaugh avatar blobaugh commented on May 27, 2024

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.

tnosugar avatar tnosugar commented on May 27, 2024

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.

georgestephanis avatar georgestephanis commented on May 27, 2024

@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.

danielbachhuber avatar danielbachhuber commented on May 27, 2024

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.

georgestephanis avatar georgestephanis commented on May 27, 2024

👍 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.

danielbachhuber avatar danielbachhuber commented on May 27, 2024

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.

georgestephanis avatar georgestephanis commented on May 27, 2024

Just flag me down at Seattle this weekend. I'll be there along with @blobaugh, @rase-, and @enejb. :)

from jetpack.

tnosugar avatar tnosugar commented on May 27, 2024

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.

dereksmart avatar dereksmart commented on May 27, 2024

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.

dereksmart avatar dereksmart commented on May 27, 2024

@danielbachhuber Please reopen if you can think of any hooks or something we can add to help your plugin

from jetpack.

jeherve avatar jeherve commented on May 27, 2024

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.

jeherve avatar jeherve commented on May 27, 2024

Also suggested in p1HpG7-4su-p2

from jetpack.

brbrr avatar brbrr commented on May 27, 2024

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.

jeherve avatar jeherve commented on May 27, 2024

Closing this for now because of the lack of activity on this. We can always reopen in the future if needed.

from jetpack.

MuhammedSwalihct avatar MuhammedSwalihct commented on May 27, 2024

@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.

geoffguillain avatar geoffguillain commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.