Doesn't 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?
-
Didn’t understand your problem. Need to see an example.
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).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 plugin and they are working together very fine! And this is my solution for you!
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.
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.
Hi. I always clear the cache when I test.
Have you made it work in FF? Can I see your example?
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
ok..if you say so, smth is wrong with the infinte scroll then
I still think you need to replace theme’s infinite scroll by Infinite-Scroll plugin
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.
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!Thanks mate.
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!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.
[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 ]
The topic ‘Doesn't work with infinte scroll for widget scripts’ is closed to new replies.