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

Advanced Comments Widget

描述

This recent comments widget provides advanced widget features for displaying comment author avatars and an excerpt of their comment.

Features

  • Select which post types to show comments for. (You can choose either all types, or a specific type.)
  • Exclude pingbacks and trackbacks.
  • Set the number of comments to show.
  • Set the order for displaying the comments.
  • Show comment author avatar.
  • Set and preview avatar size.
  • Show an excerpt of the comment.
  • Determine the length of the excerpt.
  • Select the comment list format to match your site’s markup. Choose from: ol, ul, or div.
  • Select the comment format. Choose between html5 or xhtml.
  • Create multiple comment lists with different settings.

Developer Features

This widget was built not only with end-users in mind, but also plugin developers. Almost every aspect of this widget is extensible through filters and action hooks. You can even add your own form fields to the widget form!

  • Need to remove a field from the widget form? Not a problem! Every field is passed through its own filter for easy customization.
  • Need to modify the output of the widget? Easy! The output is passed through numerous filters, allowing you to customize the comment list to meet your project’s requirements.
  • For a full list of action hooks and filters, please see the plugin documentation: http://darrinb.com/plugins/advanced-comments-widget

螢幕截圖

  • Multiple widget options.
  • Preview your avatar size selection.
  • Easily create a stylish comment list with avatars and excerpts.
  • Example comment list in sidebar.

安裝

From the WordPress.org plugin repository:

  • Download and install using the built in WordPress plugin installer.
  • Activate in the “Plugins” area of your admin by clicking the “Activate” link.
  • No further setup or configuration is necessary.

From GitHub:

  • Download the latest stable version.
  • Extract the zip folder to your plugins directory.
  • Activate in the “Plugins” area of your admin by clicking the “Activate” link.
  • No further setup or configuration is necessary.

常見問題

Where can I find documentation?

The plugin’s official page: http://darrinb.com/plugins/advanced-comments-widget

Can I contribute?

Of course! Have an idea for a feature? Reach out on the plugin’s official page. Want to dive into the code? Jump right in! Feel free to submit pull requests for new ideas enhancements!

評價

2016年9月3日 7 replies
The idea is good. However, when outputting DIV blocks: the first author has no comment. his comment at the top of the second author, and so on. last comment is not the author. In addition, for some reason, there was a horizontal scroll bar for content. http://savepic.net/8236533.png
2016年9月3日 1 reply
Thanks for creating this great plugin. Works perfectly and is easy peasy to configure.
2016年9月3日 1 reply
Thank you for a great and easily customizable widget, everything has id and class tags so everything is retouchable 🙂 Made me smile! – Jaakko Pöntinen
閱讀全部3個評價

貢獻者及開發者

“Advanced Comments Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Advanced Comments Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.1.2

  • compatibility fix for WP 4.5 when rendering ::widget() in the Customizer

1.1.1

  • added field reference to "acw_form_field_{$name}" filter
  • added instance reference to "acw_form_field_{$name}" filter
  • added widget reference to "acw_form_field_{$name}" filter

1.1

  • Added support for Selective Refresh for the Customizer for WP 4.5

1.0

  • Initial release