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(); ?>
    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    <?php endwhile; endif; ?>
    <div><?php load_more_button(); ?></div>

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rjpedrosa


    And yes, the id is correctly set in the plugin settings, as you can see here:

    Plugin Author Idiom


    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.