Site logo

[Support request] Infinite scroll post and other

Home Forums Support [Support request] Infinite scroll post and other

Home Forums Support Infinite scroll post and other

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #302856
    Istvan

    Hello,

    I’d like to make infinite scroll available on my website (https://politikaivelemenyek.eu/egy-ismeretlen-kozmunkas-levele-a-miniszterelnokhoz/), so as soon as they finish reading the article the next one loads up automatically, as you can see it here: http://www.hirado.hu/2017/04/07/lecsapott-amerika-sziriaban/

    The only exeption, on Politikai Vélemenyek I’d want to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself. Could you please possibly help me with it?

    Thanks, Istvan

    #303024
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You would need to use a plugin to achieve infinite scroll.

    This post might help: https://generatepress.com/forums/topic/is-jetpack-infinite-scroll-compatible-with-generatepress/#post-298662

    Let me know 🙂

    #303974
    Istvan

    Hello Tom, I’ve tried two options to fix it but unfurtunatelly I wasn’t able to solve it. None of what i’ve tried has worked.The jetpack made infinite scroll visible on the wp admin setting page but didn’t make any changes to the page itself. I have had set up the other plugin following the link you’ve sent but that didn’t work either. Is there anything else I could possibly try to make it work? Could you please help me with the set up of infinite scroll? And I had an other question about making a few things appear right under the title section after the set up of infinite scroll.

    On Politikai Vélemenyek I’d like to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself. Could you please possibly help me with it?
    Thank you

    #304121
    Tom
    Lead Developer
    Lead Developer

    I do believe the infinite scroll from Jetpack still works, but some code needs to be added for it to be compatible. That code/discussion can be found here: https://generatepress.com/forums/topic/blog-automatic-load-more-posts-on-scroll-down/

    Alternatively, have you tried a plugin like this?: https://en-ca.wordpress.org/plugins/yith-infinite-scrolling/

    #304141
    Istvan

    Tom,

    Navigation Selector: #nav-below

    Next Selector: #nav-below a:first

    Item Selector: .masonry-post

    Content Selector: .masonry-container

    with these setting the yith plugin doesn’t work. Can you tell me what am I doing wrong? please help

    #304275
    Tom
    Lead Developer
    Lead Developer

    Hmm, can you link me to the page with it not working?

    #304370
    Istvan

    Hello Tom,
    I am probabbly using the wrong values and that’s the reason I can not solve it.
    I am currentlly using the yith plugin on this site: (https://politikaivelemenyek.eu/az-orbanbuktatas-margojara-igazsagos-tarsadalmat/) , but I also have the jetpack installed so we could try any of them.

    I’d like it to look something similar to this: http://www.hirado.hu/2017/04/11/nezopont-nem-gyengiti-a-kormanypartokat-a-tuntetessorozat/
    or
    http://abcnews.go.com/US/multiple-gunshot-victims-reported-california-school-fire-officials/story?id=46708063 as you can see there’s infinite scroll and also in title section all those information I wanted to include on my site too (date, author, category, and how many comments)

    Also, if I set up an article in video format it makes the whole content visible, there’s a pic for you to see what I mean ……….. is there a solution to solve that?
    28dfb9e661754ee86f514033a063e0c6.png

    #304547
    Tom
    Lead Developer
    Lead Developer

    As far as I know, those plugins will only work on the blog page/archives, not single posts like that.

    #304785
    Istvan

    Ok,

    But I still didnt’t get an answer on other questions I asked…

    Also, if I set up an article in video format it makes the whole content visible, there’s a pic for you to see what I mean ……….. is there a solution to solve that? (find picture in the previous message)

    On Politikai Vélemenyek I’d like to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself.

    I have sent these questions trough a few times now, and I am really struggling with the set up. Please let me know if you can’t help with it so I dont keep resend it if theres no answer.

    Thank you

    #305059
    Tom
    Lead Developer
    Lead Developer

    Currently, the video post format option displays the full content. This is so HTML is allowed, and the videos will show.

    In a future update, I want to grab the video from the content and place it where the featured image usually is.

    For now, you would want to place the video at the top, then use the more tag: https://docs.generatepress.com/article/using-the-more-tag/

    That way, only your video will display in your excerpt.

    I’m not sure what you mean by your second question – can you show me an example of what you’re wanting to achieve?

    It’s best to create new topics for each different unrelated question you have. It’s much easier to answer, and easier for find for users who might have the same question.

    #407999
    mathewemoore

    Tom,

    I made an infinite scroll plugin for GeneratePress and I am thinking about publishing it to the WordPress plugin directory. Are you ok with me doing this?

    You can see a slighty modified version of my plugin at https://hike4.com.

    The version on that website does two ajax queries: one for the sidebar and one for the main article div. The main query in the article div loads posts in DESC order and the sidebar loads in ASC. I only did this way so I can get the most visibility for my posts.

    For the plugin I wish to publish to the WordPress Plugin Directory, both ajax calls will be DESC, but only one will run based on the screen width above or below 768px.

    Either way, please let me know if you are ok with me publishing a version.

    Thank you,
    Mathew Moore

    #408225
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Absolutely! Looks awesome.

    Feel free to release it 🙂

    #409565
    mathewemoore

    Hi Tom,

    The Infinite Scroll for GeneratePress plugin is now live in the WordPress Plugin Directory:
    https://wordpress.org/plugins/infinite-scroll-generatepress/

    Feel free to offer me any suggestions you have in regards to the plugin and also, I invite you to become a contributor.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.