Hi there,
Currently, this isn’t directly possible with the Email Subscribers plugin, but you can achieve it with a little bit of custom jQuery/JavaScript code.
Here is an example code which you can refer
jQuery(document).ready(function( $ ){
$('.es_subscription_form').on('es_response',function(e,response){
let status = response.detail.es_response;
if ( 'success' === status ) {
window.location.href = 'http://example.com'; // Put your redirect page URL here
}
});
});
Note: You can put this custom JavaScript code using Simple Custom CSS and JS plugin(https://ww.wp.xz.cn/plugins/custom-css-js/) or similar kind of plugins.
-
This reply was modified 5 years, 1 month ago by
Kishan Ranawat.
-
This reply was modified 5 years, 1 month ago by
Kishan Ranawat. Reason: Using $ instead of jQuery inside dom ready function
Hi there,
We haven’t heard back from you in a while.
Hoping that our previous reply was helpful in resolving your queries, we are marking this ticket as resolved and closing it.
Feel free to reopen it in case if your query is still not resolved.
Thank you.