WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[resolved] Navigation selector is not found yet present (3 posts)

  1. curlybracket
    Member
    Posted 1 year ago #

    "Navigation selector not found " - i keep getting this error, although i did indicate the correct selector.

    my markup looks like this :

    <nav id="navpages" class="navigation">
            <span class="nav-previous"><?php previous_posts_link() ?></span>
            <span class="nav-next"><?php next_posts_link() ?></span>
         </nav>

    And i configured this

    Navigation Selector	#navpages
    Div containing your theme's navigation

    Yes, it is not a div, but an HTML5 element. This worked in the previous version. Any suggestions ?

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. curlybracket
    Member
    Posted 1 year ago #

    Tried using a div, tried using selectors without dashed, reinstalled the plugin. It still does not work. The selector is not found.

  3. curlybracket
    Member
    Posted 1 year ago #

    Found out : the next selector MUST be a link. So I actually had to say :
    "#navpages .nav-previous a", otherwise the script would not find the HREF needed to load the next pages.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic