Content Views and Content Views Pro helps you to show posts, pages, etc. with pagination easily.
To trigger custom Javascript action after clicking a pagination number, please use this Javascript code:
/*Pagination – trigger custom Javascript action after clicking*/ $('body').on('pt-cv-pagination-finished pt-cv-pagination-finished-simple', function(e, pages_holder, $loaded_content) { // add your JS code here });
It works with Ajax load-more and infinite scrolling pagination too. Your event will be triggered after the new page finishes loading.
Best regards,