• Resolved devib

    (@devib)


    Thanks for this plugin! It’s passing my tags into MailChimp beautifully! However, my redirect is not working sometimes, for some people, so I have the following configured in my Success Messages fields:

    Thank you! Please wait while you are redirected to the payment page. If not redirected in 7 seconds, please go to [link]https://jennifermazzucco.com/paypal/[/link]

    and instead of showing the link, it just echoes back [link]https://jennifermazzucco.com/paypal/[/link]

    How can I code an actual link into my success messages? Thanks so much for any help you can give.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hello @devib,

    Please try switching “Enable AJAX Submission” to No
    https://yikesplugins.com/support/knowledge-base/submission-settings/

    That will cause the page to redirect immediately after they hit the submit button.

    Please let me know if that works for you.

    Thank you!
    -Tracy

    Thread Starter devib

    (@devib)

    Thank you! Yes, that did work to make the redirect instantaneous. I would still like to have the option of adding a link in my Success Message. Is that possible?

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi @devib

    No, I am sorry, the plugin doesn’t have the ability to add HTML code to the success messages. The redirect works for composing a more robust message after a user successfully submits a form.

    -Tracy

    Plugin Contributor Freddie

    (@fmixell)

    @devib,

    You could use the filter yikes-mailchimp-success-response like this:

    
    add_filter( 'yikes-mailchimp-success-response', 'yikes_mailchimp_filtered_success', 10, 2 );
    
    function yikes_mailchimp_filtered_success( $current_message, $form_id ) {
    	if ( 1 === $form_id ) {
    		return '<a href="yikesinc.com">YIKES, Inc.</a>';
    	}
    
    	// Preserve other messages using this filter.
        return $current_message;
    }
    

    Cheers,
    Freddie

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links not working in Success Messages’ is closed to new replies.