我正在使用 wordpress 创建一个网页。我想在表单中插入一些隐藏的元素,但评论标签不起作用。wordpress 将评论标签放在“p”标签中。我使用了所有评论方法。它不起作用。
谁能告诉我如何使用 wordpress 在网页中插入评论?
谢谢我提前。
I take it you are trying to build a form using the add/edit page screen in wp-admin i.e. wp-admin/post-new.php?post_type=page? If so, you might never succeed in your endeavour, but I would give it a try using tinymce-advanced plugin, as you can turn a lot of the filtering of your source code off, and this might solve the problem. Try it, if not let me know and I will tell you how to manually add functionality to stop Wordpress from messing with html code in wp-admin text editor.