Support » Plugin: Infinite-Scroll » [Plugin: Infinite-Scroll] Javascript Callback Problem

  • tk_421


    I’m not sure if any of the original developers are still monitoring this support form, but any feedback would be greatly appreciated.

    My website can be found at:
    I am using version 2.0b2.120226 of infinite-scroll
    My selectors are
    Content Selector: #content
    Posts Selector: #content
    Navigation Selector: div.navigation
    Next Page Selector: div.navigation .alignleft a:first

    The plugin is currently working as expected with only a few hiccups. When the page loads the new set of posts, several javascript elements on the newly generated sidebar don’t function. One of the elements is a twitter feed and the other is a jQuery that pulls a title from a SHOUTcast server.

    Upon inspection of the html code, the javascript reference calls to the external files are only generated at the first page load, not for any subsequent loads.

    The javascript calls are:

    <script type="text/javascript" src=""></script>
    		<script type="text/javascript" src="<?php echo get_option('alltuts_twitter_user'); ?>.json?callback=twitterCallback2&count=<?php
    			echo get_option('alltuts_number_tweets');
    				echo "1";
    			} ?>"></script>


    <script src=""></script>
    <script src=""></script>

    I tried placing these calls outside of the #content selector, but they need to be within the <body> of the page to function.

    Is a fix able to be done with the java callback function in infinite scroll? If so, I don’t properly understand how to use this feature.

    Any help would be greatly appreciated! Thanks in advance.

    PS – I tried updating to version 2.5 on github and it caused errors with my native wordpress media library.

Viewing 1 replies (of 1 total)
  • Hi,
    did you succeed in fixing your problem ? because I posted a similar topic yesterday and I need to find a solution quickly.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Infinite-Scroll] Javascript Callback Problem’ is closed to new replies.