Redirect to Thank You Page
-
The code
if (!empty($form_message[$widget_id])){ // echo '<span class="mailjet_widget_form_message">'. $form_message[$widget_id] .'</span>'; $page = get_page_by_title('Email Sent'); wp_redirect(get_permalink($page->ID)); exit; }
We use at site/web/app/themes/sage/templates/custom_mailjet_widget_template.php does not seem to work properly anymore and does not sent to Email Sent Page. The page does exist and the title has not changed.
We use it (Mailjet Subscription Widget) on the signups page linked to but also in the header and footer as you can see..
Has anything changed for the plugin in recent updates? Do I need to use only advanced settings and choose a thank you page there per widget? What about widgets I place on pages?
The page I need help with: [log in to see the link]
- The topic ‘Redirect to Thank You Page’ is closed to new replies.