Are you looking for a way to remove all of the extra
<br /> from your forms? Contact form 7 is a great tool but sometimes it adds a little extra HTML that you might want to get rid off within your pages and posts. We have created a quick code snippet that you can use to remove
<br /> from Contact Form 7.
All you have to do is add this code to your theme’s functions.php file or in a site-specific plugin:
define('WPCF7_AUTOP', false );
Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly add code snippets in WordPress, so you don’t accidentally break your site.