這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

評價

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! 🙂
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!
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!!
2016年9月3日
Works great with an ajax commenting form and the latest WP version 🙂 Thanks so much for the handy plugin!
閱讀全部11個評價

貢獻者及開發者

“Comment Form Shortcode” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Comment Form Shortcode 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3

  • New Design and user interface

1.0

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