Filtering JS not working
-
I can’t get the filtering example you have listed on your site to work. The example I’m using is the one on this page:
https://connekthq.com/plugins/ajax-load-more/examples/filtering/#javascriptI’m adding the JS to the footer of my site and when I click the filter link my console says “Uncaught TypeError: $.fn.almFilter is not a function”
Here’s the nav code:
ul id="alm-filter-nav"> <li><a href="#" data-repeater="default" data-post-type="post" data-posts-per-page="3" data-scroll="false" category="learning" data-button-label="Load More Work">Learning</a></li> <li><a href="#" data-repeater="default" data-post-type="ajax_more" data-posts-per-page="5" data-scroll="true" data-button-label="Load More Articles">Recent Articles</a></li> </ul>
And here’s the shortcode (which initially loads fine):
<?php echo do_shortcode('[ajax_load_more repeater="default" post_type="post" scroll="false" posts_per_page="8" button_label="Learning"]'); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Filtering JS not working’ is closed to new replies.