[Resolved] Next post button as soon as the post ends..

Home Forums Support [Resolved] Next post button as soon as the post ends..

Home Forums Support Next post button as soon as the post ends..

  • This topic has 7 replies, 3 voices, and was last updated 4 years ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1235448
    Hemant

    Is there any css I can use to add next post after the post ends?

    Trying to achieve something similar to: https://www.postfun.com/celebrity/wives-and-girlfriends-of-famous-comedians/?view-all

    Now whats interesting this is… When you go to https://www.postfun.com/lifestyle/inside-jlo-and-arods-stunning-nyc-penthouse/ url you will see they have a pagination… But when you go to https://www.postfun.com/lifestyle/inside-jlo-and-arods-stunning-nyc-penthouse/?view-all the pagination goes away… Something to do with url structure…

    How do I can achieve something similar…

    Thanks..

    #1235686
    Leo
    Staff
    Customer Support

    Hi there,

    Our blog add-on has built-in post navigation:
    https://docs.generatepress.com/article/blog-content-layout/#single

    Do you only want the next post and not the previous post?

    Let me know 🙂

    #1235777
    Hemant

    Only next post

    #1236398
    Tom
    Lead Developer
    Lead Developer

    So just to confirm, you want to replace this area with a single button linking to the next post?: https://www.screencast.com/t/z0Y9mEUqJ

    #1236454
    Hemant

    Hey Tom,

    Thanks for responding… I switched the theme to Newspaper theme… But I am still using generatepress on other sites… You guys are awesome..

    Just try to bring some more customization to the existing arsenal… Some of them are unlimited scroll and next/previous post pagination to break the long content in multiple pages… Try to bring this within the theme.. It will surely help us (the user community) and your team.. Honestly your theme is best hence would like to stick with it for other sites… Just see if we can have those features may be in some other demo’s…

    Regards,
    Hemant S

    #1236653
    Tom
    Lead Developer
    Lead Developer

    Ah, so something like infinite scroll on single posts which load the next post?

    I’ve looked at something like this, but it feels like plugin territory. There are plugins out there that will achieve that sort of thing with any theme, including GP 🙂

    #1236782
    Hemant

    That’s what Tom, had a real hard time to find the plugin.

    I have already tried below plugins..

    1.) Jetpack
    2.) YITH
    3.) catch
    4.) few other less popular one.

    Nothing works, jetpack says that my theme has no features within the theme and I need to add below code to enable the scrolling…

    add_theme_support( ‘infinite-scroll’, array(
    ‘container’ => ‘content’,
    ‘footer’ => ‘page’,
    ) );

    I did the changes using code snippet and then I got the option in jetpack to enable the infinite scrolling… But once I added the above code the themes framework broke meaning all the alignment and other things broke… And yet the infinite scrolling could not be achieved…

    It’s better if we have such features included within the theme… Hence I request that once you get time to work on new demos… Try including something like infinite scrolling for posts and pagination feature which give option to break the post into multiple pages… Like next page and previous page…

    Nevertheless not everyone may use this feature but, I still see there are many who wants this… I have seen this in generatepress forum as well…

    Your theme is excellent and I use it for my health and wellness site… But for gossip and entertainment site, above feature may be needed to increase the page views and keeping the users sticking to the site… 🙂

    Regards,
    Hemant S

    #1237593
    Tom
    Lead Developer
    Lead Developer
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.