• Hi,

    My website is https://www.theresident.net

    Instead of having a numerical list of more pages to click through at the bottom on the homepage, I’d like the homepage to act like Boing Boing’s (https://boingboing.net/), where, when a user arrives at the bottom of the page, more posts just continually populate, so that the user never has to click.

    Is there a simple code to add to my index to achieve this, or are there huge implications for how long it takes for the page to load with something like that? Thanks for the help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi theresident,

    There are plugins which you can install to achieve such functionality such as https://www.infinite-scroll.com/

    To generate the page numbers like you currently have your theme is using some plugin such as WP-Page Navi (https://www.ads-software.com/extend/plugins/wp-pagenavi/)

    So in this case you have to disable the other plugin, install the new one and hope it supports it.

    If you never used the new plugin, I would recommend you to try it out first on a test / local installation.

    Thread Starter theresident

    (@theresident)

    Thanks very much, Johnb81!

    Now if I could only remember my gravatar email address to figure out why the heck my profile pic is that weird, heinous thing…:)

    Click on Member under your nickname and click on Edit profile. There you can see the email you are using in this WordPress forum.

    Good luck with that ??

    Thread Starter theresident

    (@theresident)

    Thanks! hahaha

    Thread Starter theresident

    (@theresident)

    Hey there – I finally added in the Infinite Scroll, and I love it, BUT – now my header disappears once you scroll down. How do I fix that, any ideas?

    https://www.theresident.net

    That’s weird! If you need to solve this most probably you have to ask a professional as it is quite difficult to check what is wrong without getting access to the website.

    Thread Starter theresident

    (@theresident)

    I think the issue is with the selectors.

    I am using the following:

    Content Selector: #subpage
    Posts Selector: #subpage div.content

    Navigation Selector div.navigation
    Next Page Selector div.navigation a:first

    The theme I use didn’t have a Previous and Next div built in, it used the following script and php:

    <?php
    include(TEMPLATEPATH.”/scripts/wp-pagenavi.php”);
    if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); }
    ?>

    The navigation selector and next page selector for the infinite-scroll don’t seem to apply, then – or, I don’t have any idea what to put in lieu of having an actual previous-next setup on my site.

    I think I need to have different things set for those two selectors, in other words, but I have no idea what they might be.

    Anyone have any ideas?

    yes that might be an issue since it seems your theme was using pagenavi script instead of the actual divs.

    Maybe you can write your own divs then and try them out?

    Thread Starter theresident

    (@theresident)

    Hm, that’s a good idea! Plopping in a div around the script might work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘automatically repopulate homepage with more posts’ is closed to new replies.