Support » Plugin: Easy Load More » Load button does nothing (and JS error)

  • Hi,

    When I click the load more button, nothing happens and I get this error on the console:

    Uncaught ReferenceError: elm_button_vars is not defined frontend.min.js?ver=1.0.0:1

    Here’s my code:

    <div id="posts-load-more">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <article>
    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    </article>
    <?php endwhile; endif; ?>
    </div>
    <div><?php load_more_button(); ?></div>

    Any help?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • And yes, the id is correctly set in the plugin settings, as you can see here: https://db.tt/jEKPBxyk

    Plugin Author Idiom

    (@brianbrey)

    There was bug where depending on certain themes the script tag containing elm_button_vars would not load. That has been fixed in the latest update, and it is the most likely source of your problem. If it’s still not working after this update, please let us know. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Load button does nothing (and JS error)’ is closed to new replies.