JaapPebbler2
Forum Replies Created
-
Oops! Totally forgot to report back.
The latest update, which introduced thescroll_containeroption fixed the problem for me.
Thanks!!I didn’t have much time to look at the problem yesterday (or today), but I found out that giving the body a height of even 100.1% (essentially giving it a scrollbar) causes infinite scrolling to work again.
Is it true that the script is checking for scrolling events on the body/html/window?
In that case, would there be a way to make it look at scrolling events of parent elements?Just guessing here. I’ll have a better look tomorrow.
Ok. I seem to have found the problem.
It’s a CSS issue.The footer has to be visible at all times, so the body has a fixed height and main can be scrolled.
html, body { height: 100%; }main { overflow: scroll; }By disabling the CSS above I could get infinite scrolling working again in all browsers.
Maybe the infinite scrolling doesn’t get trigged on a fixed height body, or maybe there is a scrolling distance problem after all?
I’ll do some more research and try to find a solution to work around the problem and will report back 🙂
Hi @dcooney,
Thank you for reviewing the issue.
The scrolling is also working in Safari when I’m not logged in to my WP Admin.
The nonce verification was set to OFF already. So no luck here.#1 I tried to change te scroll_distance to 0 or 50, also no luck here.
#2 Yes, you’re right. The client asked us to remove the button. I advised them not to do that as there won’t be any indication of loading content etc. But they insisted.
The button itself is working. When I make it visible and click it, it starts loading in the next posts. Auto / infinite scrolling is not working though.I’ll try to disable all other plugins and see if there’s a possible plugin conflict.
Noticed I had double scroll_distance settings in the shortode. It should be:
[ajax_load_more container_type="div" post_type="project" posts_per_page="12" order="ASC" orderby="menu_order" scroll_distance="0"]But above shortcode is still not working.
Forum: Plugins
In reply to: [ACF Flexible Columns] Can’t make it workI sort of got it to work.
When you browse the plugin files, you’ll find a folder called acf-json.
This folder contains the .json file which you’ll need to import, using the ACF import/export function. Then you’ll be able to use the columns system.I don’t know why readme doesn’t mention this.
I also don’t know if a novice WP user will understand how to use this plugin, but if you’re using it for your own site, it’s not too bad.
Hi Asakasan,
I don’t know if you solved your problem already, but I encountered the same problem after updating to WP 4.4.1.
For me it was a problem with my theme. It loaded its own JQuery version. After removing that JQuery call, the slider started working again.