designagogo
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] almComplete not firingForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] almComplete not firing@dcooney thanks for the reply. I have tried both snippets of code in my scripts js file and in my index template which contains the load more shortcode. Same results as above – 1) error when I click the load more button, 2) nothing happens at all.
Could it be something to do with the fact that my own theme loads a different version of jquery? (newer).UPDATE
Just tried taking out my jquery and scripts and it works, so I think it is because of the two versions of jquery conflicting. I need my version as it is more recent and other jquery plugins require it. It gets loaded in the footer. Nout how I can resolve this though.- This reply was modified 5 years, 10 months ago by designagogo.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] almComplete not firingHi there. I am having them same problem. I have added these two snippets to my repeater template
Number 1
$(function() { $.fn.almComplete = function(alm){ alert("loaded"); }; })(jQuery);
gets this error:
VM49:13 Uncaught TypeError: $(…) is not a functionNumber 2
jQuery(document).ready(function ($) { $.fn.almComplete = function(alm){ alert("loaded"); }; });
This throws no error but I don’t see the alert – nothing happens.
I have also tried adding both to my scripts.js which gets loaded in the footer.
Please help!
- This reply was modified 5 years, 10 months ago by designagogo.
- This reply was modified 5 years, 10 months ago by designagogo.