Darren Cooney
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Load ALM with AJAXHi @pstidsen Sorry for the late reply.
Here is a code sample of loading ALM via Ajax.
https://connekthq.com/plugins/ajax-load-more/docs/code-samples/loading-via-ajax/Hope that help!
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Load earlier on scroll@pstidsen Hi there – you can use the
scroll_distance
parameter to trigger the loading earlier.[ajax_load_more scroll_distance="-500"]
for example.Hope that helps.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Update Axios Version@dccm1021 This is done and ready to be released in the next ALM deployment.
@bhagyashreenagthane How can I help with this? Im not sure about custom headers.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Update Axios Version@dccm1021 Thanks, I’ll have a look at updating Axios for the next release. May even see about removing it.
@iam3ple Here is a link to the Implementation Guide if you haven’t seen it.
https://connekthq.com/plugins/ajax-load-more/docs/implementation-guide/Ajax Load More works by using Repeater Templates which allow you to design to content rendered via Ajax.
In your case, you could likely use the
offset
parameter to offset the loading.[ajax_load_more offset="5"
Thanks for the review @satollo ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Not working on iphone 14Just tested and the site is working for me on iPhone.
Thanks @cognaccola Appreciate the review!
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Pagination (numbered pages)Hi @markifornia
For this, you need the Paging add-on.
https://connekthq.com/plugins/ajax-load-more/add-ons/paging/
Hope that helps!@danceyrselfclean_admin The button should disabled but remain visible.
Try this FAQ question.
https://connekthq.com/plugins/ajax-load-more/docs/faqs/#how-can-i-hide-the-load-more-button-when-no-posts-remainHope that helps.
I think the functionality is working as expected. I don’t want the user to know focus has moved.
if your container the Repeater Template is an anchor element, considering using a div, article or div to wrap the contents.l@i4nd90
I’m really following the issues here. Can you provide an example of howfocusVisible
would help here?The plugin moves focus to the newly loaded content and sets a tabindex on the first element.
Our second related issue is that on first load of new items, the moveFocus() function isn’t called at all, but on subsequent loads it is
This is by design, on this page for example I wouldn’t want to move focus on initial page load.@testcs1041 That issue would be because the filters JS isn’t loaded.
You’ll need to enqueue the filters JS globally most likely.
wp_enqueue_script( 'ajax-load-more-filters' );
@cartoonistarif Make sure your site allows access to the REST API.
Could be a security plugin or server configuration blocking it.