Title: Doesn&#039;t work with infinte scroll for widget scripts
Last modified: August 21, 2016

---

# Doesn't work with infinte scroll for widget scripts

 *  Resolved [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/)
 * Hi,
 * Doesn’t work with infinte scroll for widget scripts, like adding manually Google
   Ad code in Text widget in sidebar. Can this be fixed?
 * [http://wordpress.org/extend/plugins/q2w3-fixed-widget/](http://wordpress.org/extend/plugins/q2w3-fixed-widget/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/page/2/?output_format=md)

 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3789925)
 * Didn’t understand your problem. Need to see an example.
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3789952)
 * I’ve enabled it on my website for your convenience: fejsbuk dot rs
    The theme
   uses infinite scroll. When reaching the bottom of the page, the button Load more
   appears. It’s not suppose to. The culprit is the fixed widget for scripts (the
   Google ad 160×600 in the sidebar).
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790027)
 * Now it’s became more clear!
    Porobably there is a conflict with your infinite
   scroll implementation. How to fix it? I don’t know… Not sure the problem is in
   my plugin…
 * But, I have tested Fixed Widget with [Infinite-Scroll](http://wordpress.org/plugins/infinite-scroll/)
   plugin and they are working together very fine! And this is my solution for you!
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790028)
 * Hi again. Did you test the exact same type of code (script)? Because your fixed
   widget works with with custom menu, tag cloud etc. with no problem, but not with
   JS like Google ad code.
 * I had even a developer look at my infinte scroll theme code, and there was nothing
   wrong with it. It used to work before with your fixed widget, with a older version
   I believe.
 * Can you have a look again, because for me this is a bug with your plugin, not
   with my infinte scroll.
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790045)
 * >  Did you test the exact same type of code (script)?
 * Yes, I took Google ads code from your site for the tests.
    All is working fine!..
   Google Ads + Fixed widget + Infinite Scroll…
 * I see cache plugin on your site.
    Try to clear cache. Try to disable caching.
 * Try Infinite-Scroll plugin instead theme implementation.
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790046)
 * Hi. I always clear the cache when I test.
 * Have you made it work in FF? Can I see your example?
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790048)
 * > Have you made it work in FF?
 * Yes, tested in Chorm and FF
 * > Can I see your example?
 * No, my test lab is on localhost
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790049)
 * ok..if you say so, smth is wrong with the infinte scroll then
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790053)
 * I still think you need to replace theme’s infinite scroll by Infinite-Scroll 
   plugin
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790097)
 * Hi Max,
 * I talked with the theme developers and they said there was nothing wrong with
   their theme, and instead they said there was a fault with your plugin.
 * They told me to find the following line in q2w3-fixed-widget.php:
 * `echo 'jQuery(document).ready(function(){'.PHP_EOL;`
 * and replace it with:
 * `echo 'jQuery(window).load(function(){'.PHP_EOL;`
 * That did the trick. It works now.
 * Any possibility for you to update the plugin with this info. so I can safely 
   upgrade the same in the future?
 * Thanks.
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790098)
 * Ok, thanks for the info!
    I don’t want to completely change init code, because
   that’s not a bug. But… I decided to add a compatibility option in the next version.
   That means yes – you’ll have an ability to upgarde!
 *  Thread Starter [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790099)
 * Thanks mate.
 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790172)
 * Hello! I have added option to change init code.
    After update to version 3.0 
   don’t forget to visit plugin settings page and enable it!
 *  [Nile Flores](https://wordpress.org/support/users/blondishnet/)
 * (@blondishnet)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790176)
 * No dice on 3.0 update.
 * In fact, the checkbox on the plugin update on my beta site that I test plugins
   somehow the box on the widget got unchecked and it does not work.
 * I am not sure javascript or jquery for my other fixed which is my top menu… it
   is the natural CSS position:fixed
 * Using Genesis, and the beta site is the same as my live site that I reviewed 
   your plugin at (Blondish.net). I am not using the plugin on the live site yet.
   However, I would also like to disable this for a front page on genesis. I will
   have to experiment with a hook.
 *  [alex_klesiv](https://wordpress.org/support/users/alex_klesiv/)
 * (@alex_klesiv)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/#post-3790243)
 * _[content moderated – these are English language forums – please post in English
   or post in a forum of your language [http://codex.wordpress.org/WordPress\_in\_Your\_Language](http://codex.wordpress.org/WordPress_in_Your_Language)]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/page/2/?output_format=md)

The topic ‘Doesn't work with infinte scroll for widget scripts’ is closed to new
replies.

 * ![](https://ps.w.org/q2w3-fixed-widget/assets/icon-256x256.png?rev=2384479)
 * [Fixed Widget and Sticky Elements for WordPress](https://wordpress.org/plugins/q2w3-fixed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q2w3-fixed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-fixed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/)

 * 16 replies
 * 5 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-infinte-scroll-for-widget-scripts/page/2/#post-3790244)
 * Status: resolved