我'm using contact form 7 plugin, i create form and then save the generated code in the contact page. but, in the preview page didn' t显示任何形式 . enter image description here
我'm using contact form 7 plugin, i create form and then save the generated code in the contact page. but, in the preview page didn' t显示任何形式 . enter image description here
2 回答
你错过了 the_content 函数来调用 . 请将此代码添加到模板文件中,从容器开始到容器结束 . 请根据您的设计检查HTML .
您需要在
contact-us.php
模板中的某处添加Wordpress循环,否则WP将不会加载您在WP编辑器中定义的内容(在您的情况下是内容表单)