Last active
December 23, 2018 06:53
-
-
Save hakikz/31a863e6820f13c6354b435f4aa40986 to your computer and use it in GitHub Desktop.
Remove P tag from WordPress Contact 7 form plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## First go to wp-config.php and just paste the line below | |
define( 'WPCF7_AUTOP', false ); //Sometimes this block of code will not work on live server then please try the second | |
## If the first one is not working then please go to your theme folder and paste the line in functions.php | |
add_filter('wpcf7_autop_or_not', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment