• alexdolgopolskiy

    (@alexdolgopolskiy)


    Hey! Thanks for the plugin. One minor issue, sorry if it appears to be a newbie one. Redirection to “good bye” and “thanx 4 having subscribed” pages works fine. However, when one clicks on the “manage my subscriptions” link in a newsletter and changes subscription status, he sees a blank page after form submission. How to add a redirect for this case as well? Or at least, how to display a message? If any coding is needed, please, please, tell me the full story – full relative path, file name, what exactly and where to place. I’m not much of a coder, sorry. Thanks!!
    Website: http://mountain-rider.ru (Russian)

    https://wordpress.org/plugins/wysija-newsletters/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Can you try this? Add this Javascript code to your footer.php right after the call to wp_footer():

    <script>(function($){$(document).ready(function(){$(‘form.widget_wysija’).submit(function(e){e.preventDefault();setTimeout(function(){var msg=$(‘.wysija-msg’);if(msg.text()!==”){window.location.replace(‘http://your_thank_you_page_url&#8217;);}},3000);});});})(window.jQuery);</script>`

    Thread Starter alexdolgopolskiy

    (@alexdolgopolskiy)

    Hi,

    Thanks! No, this didn’t help… Still the same empty subscription management page with just the page title, no redirection.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirection after subscriptions management / change of status’ is closed to new replies.