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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Load button does nothing (and JS error)’ is closed to new replies.