WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
CSS Selectors with custom HTML (1 post)

  1. lupetalo
    Member
    Posted 1 year ago #

    Hi i have code like this.

    <div id="div-aroundall">
    
    	<div id="div-inside">
    		<h3>Caption</h3>
    		<p>Content</p>
    	</div>
    
    </div>
    
    <div class="wp-pagenavi">
    <span class="pages">1-2</span><span class="current">1</span><a href="http://domain.com/page/2/" class="page larger">2</a><a href="http://domain.com/page/2/" class="nextpostslink">»</a>
    </div>

    tried moving wp page navi inside like this:

    <div id="div-aroundall">
    
    	<div id="div-inside">
    		<h3>Caption</h3>
    		<p>Content</p>
    	</div>
    <div class="wp-pagenavi">
    <span class="pages">1-2</span><span class="current">1</span><a href="http://domain.com/page/2/" class="page larger">2</a><a href="http://domain.com/page/2/" class="nextpostslink">»</a>
    </div>
    </div>

    But no change, nothing happens. Pagnation working fine but not wit infinite scroll...

    Selectors should be:
    Content Selector: #div-aroundall
    Item Selector: #div-inside
    Navigation Selector: .wp-pagenavi
    Next Selector: .nextpostslink

    What am I doung wrong? Thanks

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.