• Resolved ardeedee

    (@ardeedee)


    After updated to the latest version, the wpcf7_autop() issue appears. By googling, the below methods work fine only for the form on a webpage.

    1) define( ‘WPCF7_AUTOP’, false );
    2) add_filter(‘wpcf7_autop_or_not’, ‘__return_false’);

    However, the <p> & <br> tags also add to the HTML emails. Even with the above methods, the email tags persist.

    Is there any solution to the issue?

    Thanks a lot for the great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • its a terrible update, the plugin devs seriously need to fix this and fast, or they will lose users, why change something thats not broken.

    Its doing that also, install rollback plugin and go back to 5.6.4

    wait until they fix it, if they dont, then I advise using a different forms plugin.

    I too would like to report I’m getting the same with this.

    I too have tried the following solutions

    1. define( ‘WPCF7_AUTOP’, false );
    2. add_filter(‘wpcf7_autop_or_not’, ‘__return_false’);

    The only solution that worked for me is to go through the emails and removed all the line breaks in the emails so it’s gone from:-

    <div>Name</div>
    <p>[your-name]</p>

    to

    <div>Name</div><p>[your-name]</p>

    Not ideal going forward.

    Thread Starter ardeedee

    (@ardeedee)

    @b2nmusic It’s not fair to say that. CF7 is actually a free & great plugin all the ways. Even though the plugins does not flavor all of us, CF7 still provide wonderful features and comparability with other plugins. By the way, I did the same with you, rolling back to 5.6.4 temporary.

    @rhyswynne You save my life! It’s ugly HTML, but still a solution, nice!

    Thread Starter ardeedee

    (@ardeedee)

    Thanks All & Topic Closed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘P Tag & br Tag Problem in Email’ is closed to new replies.