• Resolved Anticosti

    (@anticosti)


    Greetings Hannes,

    I was having trouble with the Contact Form 7 plugin.
    I was getting a lot of extra space between my header and the content.
    I found out that in this file:
    wp-html-mail/includes/class-haet-sender-plugin-contact-form-7.php
    I simply had to comment out line 25 to 28:
    /**public function modify_content($content){
    $content = wpautop($content);
    return $content;
    }**/

    Hope this modification will be kept in future updates.

    Thank you ??

    • This topic was modified 5 years, 8 months ago by Anticosti.
    • This topic was modified 5 years, 8 months ago by Anticosti.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @anticosti
    Please have a look at the FAQ section.
    There’s an easier fix for this problem. Did you try that?

    Thread Starter Anticosti

    (@anticosti)

    Yes sir Hannes!

    I really missed that FAQ:
    “Go to your Contact Form 7 email settings and change email type from HTML to text. WP HTML Mail will take care of the HTML.”

    Sorry about this.
    I works perfect.

    Thanks again ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I was having trouble with the Contact Form 7 – Solved’ is closed to new replies.