Support » Plugin: Infinite-Scroll » 404 Error at end of scroll

  • When scrolling on my demo home page, when you get to the end of posts, I see this error popping up in my dev console: 404 (Not Found)

    In theory there shouldn’t be a “previous posts” link.. and in fact my code for that link is wrapped in a conditional

    <?php if ( get_previous_posts_link() ) : ?>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">></span>', 'lifelounge' ) ); ?></div>
    		<?php endif; ?>

    SO when it no longer finds that link, shouldn’t it stopped trying to scroll?

  • The topic ‘404 Error at end of scroll’ is closed to new replies.