简体   繁体   English

Wordperss联系表单7不发送html内容

[英]wordperss contact form 7 doesn't send html content

i'm pretty new to wordpress and contact form, so i've installed wp and contact form 7 and then, i installed ckeditor to make it more nice for the user. 我对wordpress和联系表很陌生,所以我已经安装了wp和联系表7,然后,我安装了ckeditor以使其对用户更加友好。

Then, i created a new form with this code: 然后,我使用以下代码创建了一个新表单:

<p>השם שלך (חובה)<br />
[text* name placeholder "השם שלך"] </p>

<p>האימייל שלך: (חובה)<br />
[email* email placeholder "האימייל שלך"] </p>

<p class="block">נושא<br />
[text subject placeholder "נושא ההודעה"] </p>

<p class="block message">ההודעה שלך<br />
[textarea message class:ckeditor placeholder "תוכן ההודעה"] </p>

<p class="block submit-wrapper text-left">[submit "שלח"]</p>

And those in settings i checked the option "use html content". 和那些在设置中,我检查了选项“使用html内容”。
When i sent the email from the site (on the local, using xampp) and the enail was sent but the [textarea message] wasn't there. 当我从站点(在本地,使用xampp)发送电子邮件并发送了enail时,却没有[textarea消息]。
After that, i unchecked the "use html content" and sent the email again. 之后,我取消选中“使用html内容”并再次发送电子邮件。 The message was there but it was a plain text, the html tags were escaped. 消息在那里,但是它是纯文本,html标记被转义。

Any help? 有什么帮助吗? thanks :) 谢谢 :)

Download the latest Contact form 7 from : https://wordpress.org/plugins/contact-form-7/ if below option not there in contact form 7 从以下https://wordpress.org/plugins/contact-form-7/下载最新的联系表7: https://wordpress.org/plugins/contact-form-7/ : https://wordpress.org/plugins/contact-form-7/如果联系表7中没有以下选项, 在此处输入图片说明

change high lighted setting As per screenshot. 根据屏幕截图更改高光设置。 This work for you.. 这项为您工作。

HTML content is not allowed in contact form 7 for security reason. 出于安全原因, contact form 7不允许HTML内容。

Read this reference 阅读此参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM