Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Re-init (rebind) modal triggering buttons

Home / Forums / Kadence Blocks / Re-init (rebind) modal triggering buttons

This topic is: Awaiting Feedback
[Awaiting Feedback]
Posted in: Kadence Blocks
January 31, 2022 at 11:31 pm

Trying to implement filtering plugin (facetwp). Each post contains modal button. After filtering posts and ajax refreshes page buttons cease to work.

Facetwp offers event listener below

document.addEventListener(‘facetwp-loaded’, function() {
—code here—
});

Have been trying this. Didn’t work

document.addEventListener(‘facetwp-loaded’, function() {
MicroModal.init()
});

Hope i made myself clear.

  • The forum ‘Kadence Blocks’ is closed to new topics and replies.