Title: Comment Form Shortcode
Author: Bhagirath Dhanani
Published: <strong>2014 年 3 月 3 日</strong>
Last modified: 2014 年 3 月 4 日

---

搜索插件

![](https://ps.w.org/comment-form-shortcode/assets/banner-772x250.jpg?rev=869187)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/comment-form-shortcode_dde6f7.svg)

# Comment Form Shortcode

 作者：[Bhagirath Dhanani](https://profiles.wordpress.org/bhagirath25/)

[下载](https://downloads.wordpress.org/plugin/comment-form-shortcode.zip)

 * [详情](https://cn.wordpress.org/plugins/comment-form-shortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/comment-form-shortcode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/comment-form-shortcode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/comment-form-shortcode/#developers)

 [支持](https://wordpress.org/support/plugin/comment-form-shortcode/)

## 描述

Allow to display comment form inside post, page and widget.

Basically comment is inbuilt feature in WordPress but in some case we need embedded
comment form.

Example.

* we need to embedded comment inside post.

* some theme build without comment form for pages or custom post type.

* you want to display comment form for specific post only, so you can disable comment
for all page and use shortcode to display comment.

* in custom development you need comment form inside widget.

so here we have comment form shortcode to display comment using shortcode inside
post,page or widget.

Comment Form Shortcode Help

You can use below ShortCode in post or page or in widget to show comment form.

**[comment comment_file =”/comments.php”]**

Here **comment_file** is optional, if you have custom comment file, you have to 
pass here.

How To Use :

**[comment]**

**[comment comment_file =”/short-comments.php”]**

## 屏幕截图

 * [[
 * Comment Form Shortcode Help.

## 安装

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

**Can I Display Comment form inside widget too?**

Yes

## 评价

![](https://secure.gravatar.com/avatar/c94293c7958da567a59b6ca95ce59a3e67c68087e608ebf994381dcdbc63a563?
s=60&d=retro&r=g)

### 󠀁[Does the job perfectly!](https://wordpress.org/support/topic/does-the-job-perfectly-42/)󠁿

 [stevemorel](https://profiles.wordpress.org/stevemorel/) 2018 年 3 月 9 日

Just installed, works perfectly, I just need to change a bit the skin of the way
the comment are shown and it’s PERFECT! 🙂

![](https://secure.gravatar.com/avatar/e949388e5e209ba4f87982b183bde3b24dfe0b7dceb6d17060ba778161e4289c?
s=60&d=retro&r=g)

### 󠀁[Best Comment Shortcode Plugin](https://wordpress.org/support/topic/best-comment-shortcode-plugin/)󠁿

 [sohelsarkar](https://profiles.wordpress.org/sohelsarkar/) 2017 年 12 月 19 日

It’s just what i need 🙂

![](https://secure.gravatar.com/avatar/ed8017bf10781ab80d1ca36ca4a76a3ca611f2de8a03a989129e322f25dd7b2d?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-631/)󠁿

 [thremulant](https://profiles.wordpress.org/thremulant/) 2017 年 8 月 29 日

I have a layout on the posts with Visual Composer that make the first column to 
be empty and the rest of the content will appear in the second column, the problem
was that all the comments appeared as a full width of the content after the Visual
Composer content. I didn’t wanted to CSS all to match the 2nd column and then in
responsive, so I wanted the option to put all the comments inside Visual Composer,
so I mapped the shortcut from this plugin into VC and it worked almost perfectly…
I still need to match the width of the comments, but it will be easier than to match
the position. Thanks!

![](https://secure.gravatar.com/avatar/1bf2a720a48fd0b2774daf557d0e03fd9b41d462de2f698b9ac36b4ad3f63719?
s=60&d=retro&r=g)

### 󠀁[works perfectly with Divi and WPDiscuz](https://wordpress.org/support/topic/works-perfectly-with-divi-and-wpdiscuz/)󠁿

 [Eric Malalel](https://profiles.wordpress.org/teachlynx/) 2016 年 9 月 3 日

I just installed this plugin on a WP site with Divi theme from Elegant Themes and
WPDiscuz plugin. And it works perfectly! Thank you!

![](https://secure.gravatar.com/avatar/97acdcb7d7fb97b31719c4c012ecfc9fc4514736243cfa946a291a9806a65465?
s=60&d=retro&r=g)

### 󠀁[Excellent!!](https://wordpress.org/support/topic/excellent-3180/)󠁿

 [jcooksey80](https://profiles.wordpress.org/jcooksey80/) 2016 年 9 月 3 日

I have struggled to find a plugin or other codes that would allow me to place my
default theme comments wherever I want. After many hours of trial and error, this
plugin has delivered the solution. It works perfectly and uses my default theme 
comments box. Thanks for this awesome work!!

![](https://secure.gravatar.com/avatar/664dc78f1865b76b6add441f33d64901a17532c2ca255065e11d144983ee4227?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-2479/)󠁿

 [mchelles](https://profiles.wordpress.org/mchelles/) 2016 年 9 月 3 日

Works great with an ajax commenting form and the latest WP version 🙂 Thanks so 
much for the handy plugin!

 [ 阅读所有11条评价 ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/)

## 贡献者及开发者

「Comment Form Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Bhagirath Dhanani ](https://profiles.wordpress.org/bhagirath25/)

[帮助将「Comment Form Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/comment-form-shortcode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/comment-form-shortcode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/comment-form-shortcode/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/comment-form-shortcode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/comment-form-shortcode/)。

## 更新日志

#### 1.3

 * New Design and user interface

#### 1.0

 * First version of plugin having comment form for post,widget

## 额外信息

 *  版本 **1.3**
 *  最后更新：**12 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/comment-form-shortcode/)
 * 标签
 * [comment](https://cn.wordpress.org/plugins/tags/comment/)[form](https://cn.wordpress.org/plugins/tags/form/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/comment-form-shortcode/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  11 条 5 星评价     ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/comment-form-shortcode/reviews/)

## 贡献者

 *   [ Bhagirath Dhanani ](https://profiles.wordpress.org/bhagirath25/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/comment-form-shortcode/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://click2check.net)