• I am getting an error in my console: Uncaught TypeError: Cannot read property ‘split’ of undefined and am not seeing the load more button. It was working earlier, but I updated to the latest version of the plugin. Not sure if that is related.

    Really enjoy this plugin. Has a sweet GUI and is a real time saver.

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter shackep

    (@shackep)

    I forgot to mention, I am also using the add-ons: Custom Repeaters and Preloaded.

    Plugin Author Darren Cooney

    (@dcooney)

    Hi,
    So is the plugin broken? Or is it a JS warning in the console? Chrome?

    I know what line this of code would be cashing this so I will investigate… I am out of town at the moment so I’ll need a 3-4 days.
    Cheers,

    Thread Starter shackep

    (@shackep)

    The ajax loading part of the website is broken. The preload still works. Looking at the source code where the loader button should be I see this:
    <div class="alm-listing alm-ajax " data-preloaded="true" data-preloaded-amount="3" data-repeater="template_2" data-post-type="post" data-post-format="" data-category="" data-category-not-in="" data-tag="" data-tag-not-in="" data-taxonomy="" data-taxonomy-terms="" data-taxonomy-operator="" data-meta-key="" data-meta-value="" data-meta-compare="" data-year="" data-month="" data-day="" data-author="" data-post-in="" data-exclude="" data-search="" data-post-status="" data-order="DESC" data-orderby="date" data-offset="0" data-posts-per-page="5" data-lang="" data-scroll="false" data-scroll-distance="150" data-max-pages="5" data-pause="true" data-button-label="Load More" data-button-class="" data-destroy-after="" data-transition="fade"></div>
    But nothing after this, so it seems like the button isn’t rendering.

    Plugin Author Darren Cooney

    (@dcooney)

    Can you check your themes footer.php to make sure you have wp_footer() in the file?

    Thread Starter shackep

    (@shackep)

    I do. I am using a child theme of theme foundry’s make theme. The parent theme has wp_footer() in the footer.php file.

    Plugin Author Darren Cooney

    (@dcooney)

    So it likely is not loading ajax-load-more.js.
    Look for this in the HTML, near the bottom.

    Thread Starter shackep

    (@shackep)

    I see it in there, here is a screen grab: https://cloudup.com/cKvd-JkJ1BV I have also turned off all the plugins to see if there is a conflict, but it is still happening. Next I am going to try a previous version of your plugin to see if it was introduced with the most recent version. I’ll let you know what I find.

    Plugin Author Darren Cooney

    (@dcooney)

    Ok great, yea let me know what you find.

    Cheers,

    Thread Starter shackep

    (@shackep)

    Updated to the previous version of the plugin. Still no dice. I have isolated the problem. When I am using this shortcode on the page: [ajax_load_more preloaded=”true” preloaded_amount=”2″?repeater=”template_1″ post_type=”testimonial” pause=”true” scroll=”false” transition=”fade” button_label=”Show more” order=”ASC”]
    None of the load more buttons show up. Am I doing something wrong by using two shortcodes on the same page?

    Thread Starter shackep

    (@shackep)

    Looks like having ‘order=”ASC”‘ in there at the end is what borked it.

    Plugin Author Darren Cooney

    (@dcooney)

    No that should work.
    Can you send me a URL?

    If you set pause=”true” that means zero posts will load via ajax on load.

    Thread Starter shackep

    (@shackep)

    https://hearthandtable.com/ It is redirecting to FB. Login as a subscriber and you will see it. Should have an invite via your company contact page.

    Thread Starter shackep

    (@shackep)

    Currently I have order=”ASC” removed so the testimonials will be in the wrong order, otherwise it works.

    Thread Starter shackep

    (@shackep)

    I’ll try and check if I can make the same thing happen on another install.

    Plugin Author Darren Cooney

    (@dcooney)

    Ok, if not I can log in and have a look Monday.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Load more buttons not showing’ is closed to new replies.