Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter shamburg

    (@shamburg)

    I found this script online…I put it in the header and it fixed the problem.
    But I don’t see this as a fix, more of a workaround. Can someone enlighten me what the issue is and why this script is needed?

    <script type=’text/javascript’ src=’/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.40.0-2013.08.13′></script>
    <script type=’text/javascript’>
    /* <![CDATA[ */
    var _wpcf7 = {“loaderUrl”:”\/wp-content\/plugins\/contact-form-7\/images\/ajax-loader.gif”,”sending”:”Sending …”};
    /* ]]> */
    </script>
    <script type=’text/javascript’ src=’/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.2′></script>

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter shamburg

    (@shamburg)

    i did, none of it applied.

    That script is already in my contact form when I view-source (though with different version numbers). I think it’s all supposed to be included by default. It’s possible that it’s just required for the ‘additional settings’ to work, but I’m no expert.

    Simply adding the redirect worked fine for me.

    I had the exact same issue.

    I have found two things. If you are logged into WordPress and have the Admin bar active on the site, it will interfere with the form redirect.

    Also I was using bootstrap shortcodes, which was for some reason messing with the redirect as well.

    I would definitely suggest looking at the scripts your plugins are using and maybe even checking the scripts your theme is using.

    Thread Starter shamburg

    (@shamburg)

    jackalcity…that was the issue, the Admin Bar. I tried it while I was logged out and the forward worked great, after I took the code out of the header of course.

    Thank you, it was bugging the cr@p out of me that I couldn’t figure it out.

    I was looking for the solution forever till it occurred that the admin has its own script and has interfered with other things before.

    I’m glad that my response helped, and I hope that it helps others.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirect to thank you’ is closed to new replies.