• I’m trying to add a link to the “Sender’s message was sent successfully” message.
    So I changed the message to
    Thanks! An email has been sent to you. <a href="https://home.com">back to home</a>

    However, this is not interpreted as HTML, and instead it shows the html as text within the message that is shown.

    Thanks! An email has been sent to you. <a href="https://home.com">back to home</a>

    How can I include this link (or indeed any other html) in the ‘successfully sent’ message?

Viewing 1 replies (of 1 total)
  • ive just found out how to do this by accident mending something else ??
    a lot of people seem to be asking for it so here is the fix:

    go into wp-contact-form-7.php

    around line 42 is

    if ( ! defined( 'WPCF7_LOAD_JS' ) )
        define( 'WPCF7_LOAD_JS', true );

    change this to

    if ( ! defined( 'WPCF7_LOAD_JS' ) )
        define( 'WPCF7_LOAD_JS', false );

    and you should be allowed html in all your messages!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Contact Form 7] Add link to ‘successfully sent’ message?’ is closed to new replies.