404 Error at end of scroll (1 post)

  1. helgatheviking
    Posted 2 years ago #

    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:

    http://client.kathyisawesome.com/page/4/ 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Infinite-Scroll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by helgatheviking
  • This topic is not resolved
  • WordPress version: 3.4.2


No tags yet.