Allow to display comment form inside post, page and widget.
允许在帖子,页面和小部件内显示评论表单。 p>
Basically comment is inbuilt feature in WordPress but in some case we need embedded comment form.
基本上,注释是WordPress中的内置功能,但在某些情况下,我们需要嵌入式注释形式。 p>
Example.
示例。 p>
* we need to embedded comment inside post.
*我们需要在帖子中嵌入评论。 p>
* some theme build without comment form for pages or custom post type.
*一些主题构建,没有页面或自定义帖子类型的评论表格。 p>
* you want to display comment form for specific post only, so you can disable comment for all page and use shortcode to display comment.
*您只想显示特定帖子的评论表单,因此您可以禁用所有页面的评论,并使用简码显示评论。 p>
* in custom development you need comment form inside widget.
*在自定义开发中,您需要在小部件内添加评论表格。 p>
so here we have comment form shortcode to display comment using shortcode inside post,page or widget.
所以在这里,我们有注释形式的简码,以便在帖子,页面或小部件中使用简码显示评论。 p>
Comment Form Shortcode Help
评论表单简码帮助 p>
You can use below ShortCode in post or page or in widget to show comment form.
您可以在帖子,页面或小部件中的ShortCode下面使用它来显示评论形式。 p>
[comment comment_file =”/comments.php”]
[评论comment_file =” / comments.php”] strong> p>Here comment_file is optional, if you have custom comment file, you have to pass here.
评论文件 strong>是可选的,如果您有自定义评论文件,则必须在此处传递。 p>How To Use :
使用方法: p>
[comment]
[评论] strong> p>[comment comment_file =”/short-comments.php”]
[评论comment_file =” / short-comments.php”] strong> p>