WordPress.org

Support

Support » Plugins and Hacks » Infinite-Scroll » [Plugin: Infinite-Scroll] Infinite Scroll stopped working

[Plugin: Infinite-Scroll] Infinite Scroll stopped working

  • I had this plugin working beautifully for a few weeks, and then it stopped working. I assume it stopped after some update I made to the theme, but I can’t figure out what. I’ve also tried disabling any other plugins I can afford to disable. (I have a separate dev site for troubleshooting purposes)

    Obviously, I know how to set it with the proper selectors – the content hasn’t changed, so that’s not an issue, but for some reason, it appears that the javascript for the plugin isn’t being loaded.

    Not only is it not working on the front end, but The tabs on the admin panel aren’t working. I get an error in the js console:
    Uncaught TypeError: Object [object Object] has no method ‘infinitescroll’

    version: 2.0b2.120226
    url: http://dev.showtimecaraudio.net

    This is a custom theme built on top of the latest Roots Framework.
    The live site has more plugins, but on the above site, I only have the following enabled:
    Infinite Scroll
    Advanced Text Widget
    Ozh admin drop down menu
    recent searches widget
    Woocommerce v1.5.6

    The selectors I’m using are:
    ul.products and .products div.product

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

Viewing 1 replies (of 1 total)
  • OK, found the problem, not sure why it’s a problem, though:
    (I had recently added this to my functions.php)

    function _remove_script_version( $src ){
    	$parts = explode( '?', $src );
    	return $parts[0];
    }
    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Infinite-Scroll] Infinite Scroll stopped working’ is closed to new replies.
Skip to toolbar