• Resolved simooo

    (@simooo)


    Hi there. There is a similar issue on this forum but it was closed with no comment other than “contact us”, and your contact form is broken ??

    The issue is this: the jQuery Masonry plugin (which is included with WordPress by default) needs to refresh the product grid after the filters are changed, but this does not happen. Is there any callback from your plugin which I can use to manually trigger a refresh?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick McReynolds

    (@woobewoo)

    Hello @simooo,

    https://i.imgur.com/fJqp7Ya.png – Just checked, the contact form works correctly.

    Here are some hooks that might help you:
    wpfAjaxStart – before starting an Ajax filter request
    wpfAjaxSuccess – after successful completion of an ajax request
    wpfOpenFloatingClick – click on the button to call the floating filter
    wpfCloseFloatingClick – closes a floating filter
    wpfHideButtonClick – click on the Hide Filter button

    Usage example:
    document.addEventListener(‘wpfAjaxSuccess’, function(event) {console.log(‘Custom js’);});

    If you need help, write a letter to the support department directly: [email protected]

    Thread Starter simooo

    (@simooo)

    Hi there Nick! Thanks so much for reply. Using the wpfAjaxSuccess event was exactly what I needed

    Regarding your contact form what I saw in the console was that the form submission was being blocked by the browser. I do have a couple of privacy extensions installed (Privacy Badger and Duck Duck Go), so possibly your form is doing something that’s considered not ok by one of the extensions –?just a friendly FYI ??

    Plugin Author Nick McReynolds

    (@woobewoo)

    Hi,

    Thank you for your feedback, we will check in about privacy extensions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Masonry grid breaks with ajax enabled’ is closed to new replies.