Issue with plugins that filters content using Ajax
-
Hello there,
Thank you for the wonderful featured plugin, I am using it in one of my client sites.
I would like to report that if the content is loaded using Ajax, the scrolling doesn’t work.
Steps to catch it:
- Install plugins that gives you option for filters like WooCommerce Product Filter WordPress plugin by WooBeWoo
- Now configure the plugin
- On the first load the plugin works properly but as soon as we use the filter the scrolling is not working.
I managed to fix it by doing the following so can you check if it’s okay to make the changes mentioned or do you have any other suggestion or if the feature is only available on premium version?
on wp-content/plugins/yith-infinite-scrolling/assets/js/yith-infs.js wrapped code from 26 onwards with
$(document).ready(function () {
on wp-content/plugins/yith-infinite-scrolling/assets/js/yith.infinitescroll.js modified desturl as
var desturl = ""; $(document).on("DOMSubtreeModified", function () { var desturl = $(opts.nextSelector).attr("href"); });
Look forward to your reply.
Thanks
- The topic ‘Issue with plugins that filters content using Ajax’ is closed to new replies.