WordPress的联系表格7中的captcha?
问题描述:
嗨我使用真正简单的CAPTCHA使用联系表单7,但它抛出以下验证错误。 有没有办法解决这个问题?或者是否有另一个插件,或者我可以将它输入到html中?WordPress的联系表格7中的captcha?
感谢您的帮助
问候
朱迪
# Line 261, Column 84: document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
…llenge_captcha-508" value="20073138" /><img alt="captcha" src="http://www…
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 261, Column 243: document type does not allow element "img" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag
…/20073138.png" class="wpcf7-captcha-captcha-508" width="72" height="24" /><br/>
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 261, Column 248: document type does not allow element "br" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
…/20073138.png" class="wpcf7-captcha-captcha-508" width="72" height="24" /><br/>
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 262, Column 50: document type does not allow element "span" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag
…="wpcf7-form-control-wrap captcha-508"><input type="text" name="captcha-508" v…
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
答
论坛上说要加入这一行的wp-config.php文件从停止<p>
标签插件插入时,它看起来像根据您的错误报告,它将解决一些验证问题。
define('WPCF7_AUTOP', false);
而且还解决您的其他错误,因为他们往往越滚越大,并导致其他验证错误: [Invalid]Markup Validation of artygirl.co.uk - W3C Markup Validator。在验证报告中向下滚动查看行号和源代码。