• Resolved orelik89

    (@orelik89)


    Hi!
    I have a Contact-Form-7 form on my website (yellow button submits).

    I’m using the Insert Headers and Footers plugin to add a redirect to a new url when the form is submitted, using this code snippet.

    However, when using the FVM plugin, the user is not redirected on form submission.
    I tried adding these lines to to Ingnore Script Files list:
    /wp-content/plugins/insert-headers-and-footers
    /wp-content/plugins/contact-form-7

    But this still doesn’t work..
    Would highly appreciate any help or ideas on how to solve this,
    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter orelik89

    (@orelik89)

    Simply adding the contact-form-7 folder to the ignore list did not work.

    The solution was to remove ‘wp-includes’ folder from the ‘Merge render blocking JS files in the header’ as it caused JS issues in the chrome dev tools that disabled event handlers.

    Plugin Author Raul P.

    (@alignak)

    Ignoring some files may or may not be the answer. If you are deferring the wp-includes directory, most likely you also need to defer some inline scripts to preserve the loading order.

    Please check the HELP tab for instructions on the plugin and try the latest update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript still doesn’t work after ignore list’ is closed to new replies.