• Resolved sarcasticsaint

    (@sarcasticsaint)


    Using this shortcode:

    [ajax_load_more id=”5092626108″ container_type=”ul” css_classes=”news_list” post_type=”post” posts_per_page=”8″ category=”news” scroll=”false” transition_container=”false” button_label=”Показать еще” button_loading_label=”Загрузка”]

    In result i have empty container.

    tried remove everything but category:

    [ajax_load_more post_type=”post” category=”news”]

    Still empty container.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    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.

    Thread Starter sarcasticsaint

    (@sarcasticsaint)

    yes, this helps. thanks

    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 3 years, 10 months ago by arseniov.
    Plugin Author Darren Cooney

    (@dcooney)

    @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):
    Screenshot-2021-05-05-at-10-42-28

    While if I reset to the default template with no ACF integration this is the output:
    Screenshot-2021-05-05-at-10-44-47

    • This reply was modified 3 years, 10 months ago by arseniov.
    Plugin Author Darren Cooney

    (@dcooney)

    @arseniov Im not sure. whats your acf field look like?

    @dcooney here you go.

    Field Group:
    2021-05-08-08-54-19-Modifica-Field-Group-Testnews-Word-Press

    Populated fields in post:
    2021-05-08-08-58-40-Modifica-articolo-Testnews-Word-Press

    I just tried with a bunch of different posts and also tried with a all new field group… no luck.

    • This reply was modified 3 years, 10 months ago by arseniov.

    Hey @dcooney, any clue about this?

    Thanks!

    Plugin Author Darren Cooney

    (@dcooney)

    @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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Empy container.’ is closed to new replies.