[英]Contact Form 7 : No p element in scope but a p end tag seen
the simple way is that add add_filter('wpcf7_autop_or_not', '__return_false');
简单的方法是添加
add_filter('wpcf7_autop_or_not', '__return_false');
in your functions.php在你的functions.php
another way is to modify/edit your form and remove all your \\n
(new line characters).另一种方法是修改/编辑您的表单并删除所有
\\n
(换行符)。
you can also add this to your wp-config.php您也可以将其添加到您的 wp-config.php
define( 'WPCF7_AUTOP', false );
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.