// in wp-config define( 'WPCF7_AUTOP', false ); // or in functions.php file add_filter('wpcf7_autop_or_not', '__return_false');