Created
March 15, 2013 00:27
-
-
Save omurphy27/5166529 to your computer and use it in GitHub Desktop.
PHP Wordpress Removing Contact Form 7 Br tags when adding to template
sweet, thanks for sharing
What is it with complex problems that we default to complex solutions? Thank you so much for the simplicity in your solution @kunKun-tx!
how i can do if i don't have access to wp-config.php
Thanks you :)
form br{ display: none;}
This is the current hook for WPCF7 5.x and later. Place it in functions.php:
add_filter( 'wpcf7_autop_or_not', '__return_false' );
This is the current hook for WPCF7 5.x and later. Place it in functions.php:
add_filter( 'wpcf7_autop_or_not', '__return_false' );
Awesome.! It's working perfectly. Thank you very much.!!
add_filter( 'wpcf7_autop_or_not', '__return_false' );
This is much better. Can be done within a theme files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for anyone who still has this issue after all these years, just use css to hide those