Remove Extra HTML Tags from Contact Form 7

Contact Form 7 is a great tool for embedding forms in WordPress, but sometimes it adds <p> and <br> tags to the form. To disable this, add the following line to your wp-config.php file:

define('WPCF7_AUTOP', false );

More on the CF7 plugin in the post on styling the Contact Form 7 plugin.

Discussion
[  0 Comments  ]

Leave a Comment

To add code, use the buttons below. For instance, click the PHP button to insert PHP code within the shortcode. If you notice any typos, please let us know!