Thursday, November 4, 2010

Remove p tags from Contact Form 7 ( Wordpress )

define( 'WPCF7_AUTOP', false );
 
Add the above tag in wp-config.php file
 
It will remove all the auto-generated p tags from 'Contact Form 7' Forms 

2 comments:

joeynegros said...

cool. thanks

How do you remove it from ALL posts/content from the whole wordpress?

its adding these to each posting.

Matt said...

Awesome, just what I needed to get around a bug in the current version.

Thanks!

Popular Posts