How to show another page after user presses subscribe button?

  • aristath

    Hello there @pigtailpundits, I hope you're well today!

    If you open up the e-newsletter.php file and scroll down to line 438 you'll notice this code:

    $_SESSION['newsletter_widget_status'] = __( 'You are subscribed successfully!', 'email-newsletter' );
    wp_redirect( $redirect_to );

    You can alter that code to redirect your users to a new page when they successfully subscribe to your newsletter.

    I hope that helps!
    I am marking this issue as resolved.
    If however the above solution doesn't work for you or you need any further instruction/clarificatrions on how to achieve this, then don't hesitate to reopen it and post a reply on your current status.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.