WordPress Carousel Click Event


WonderPlugin Carousel


Is there anyway I can have the callback from every click on carousel item?

I want to trigger something after every click on carousel item.

Please advice.


The carousel itself does not have an event.

But you can directly add click event to the items. For example:

jQuery(document).ready(function() {
  jQuery(".amazingcarousel-image img").click(function() {

    console.log("image clicked ");

  jQuery(".amazingcarousel-hover-effect").click(function() {

    console.log("hover effect image clicked");

The first code adds click event to the images, the second code adds click event to the hover effect image.