Hi @sarcasticsaint I’m not seeing the Ajax Load More JavaScript in your site footer.
Please make sure you have the PHP function wp_footer(); in your footer.php of your theme.
Let me know if this helps.
Hi @dcooney
Sorry to bring this topic up again.
I have the same issue as sarcasticsaint had.
If I use the plain Load More function it returns the posts data, but if I want to use it with the Repeater it just doesn’t show anything…
I can’t send a link to the website as it’s a staging instance and it’s not public yet.
Is there any way you can help me?
Thanks in advance.
-
This reply was modified 5 years ago by
arseniov.
@arseniov Might be an issue in the Repeater Template itself. I’d start by debugging the template and removing any custom code.
Hi @dcooney
The Repeater Template is very basic:
<div>
<p><?php get_sub_field('title'); ?></p>
<p><?php get_sub_field('excerpt'); ?></p>
</div>
The shortcode:
[ajax_load_more post_type="post" acf="true" posts_per_page="4" acf_field_type="repeater" acf_field_name="layout"]
And this is the result (click to see full img):

While if I reset to the default template with no ACF integration this is the output:

-
This reply was modified 5 years ago by
arseniov.
@arseniov Im not sure. whats your acf field look like?
@dcooney here you go.
Field Group:

Populated fields in post:

I just tried with a bunch of different posts and also tried with a all new field group… no luck.
-
This reply was modified 5 years ago by
arseniov.
Hey @dcooney, any clue about this?
Thanks!
@arseniov No, I really have no idea.
Feel free to open a support ticket if you want me to have a look behind the scenes in your admin
https://connekthq.com/support/?product=Ajax%20Load%20More