• Hello,

    I have setup cache infinite scroll pluin and this is workin fine on my home page but not working on other inner pages.

    Can someone help me on this.

    Thanks,
    Saurabh

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • hello. i had a similar problem and didn’t notice this post.

    i solved it by manually adding following to the theme file:

    
    <script type="text/javascript" src="/wp-content/plugins/catch-infinite-scroll/public/js/catch-infinite-scroll-public.js?ver=2.0.3" id="catch-infinite-scroll-js"></script>
    

    and modifying the file a bit by including the settings. you’d just need to insert following to the js file

    
    
    var selector = {
    			contentSelector: &quot;REPLACE-WITH-YOUR-CONTENT-SELECTOR&quot;,
    			event: &quot;scroll&quot;, // OR click
    			finish_text: &quot;No more items to display&quot;,
    			image: &quot;/wp-content/plugins/catch-infinite-scroll/image/loader.gif&quot;, // OR relative url to your custom image
    			itemSelector: &quot;REPLACE-WITH-YOUR-ITEM-SELECTOR&quot;,
    			jetpack_enabled: &quot;false&quot;, // OR true IF YOU GOT JETPACK
    			load_more_text: &quot;Load More&quot;,
    			navigationSelector: &quot;REPLACE-WITH-NAVIGATION-CONTAINER&quot;,
    			nextSelector: &quot;REPLACE-WITH-LINK-TO-NEXT-POST&quot;,
    			theme: &quot;REPLACE-WITH-YOUR-THEME-NAME&quot;,
    			type: &quot;post&quot; // this is hardcoded
    		};

Viewing 1 replies (of 1 total)
  • The topic ‘Catch infinite scroll is workin oly on home page, not working on the posts pages’ is closed to new replies.