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)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/comment-form-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/comment-form-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/comment-form-shortcode/#installation)
 * [開發資訊](https://tw.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.⌉⌊Comment Form Shortcode Help.⌉[

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 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.7.41**
 *  語言
 * [English (US)](https://wordpress.org/plugins/comment-form-shortcode/)
 * 標籤:
 * [comment](https://tw.wordpress.org/plugins/tags/comment/)[form](https://tw.wordpress.org/plugins/tags/form/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.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)

[撰寫評分](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)