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

Recent Comments with Avatars

外掛說明

Once the widget is added to your sidebar you may easily configure it to provide a display of recent comments with comment author avatars. The options are:

  • The title of the widget.
  • Limit the number of comments to shown (1 to 15).
  • Option to display the avatar of the comment author, or not.
  • Set the size of the avatar.
  • Chose to have the comment author’s URL (if given) open in a new window,
  • Show the date of the comment, or not.
  • Set the format of the date.
  • Set the size (as a fraction of the normal text size) of the date string.
  • Show an excerpt from the comment.
  • Convert smilies in the excerpt.
  • Show a country flag indicating the source of the comment, requires MySQL database modifications, see below.
  • Show a country flag in main comment loops, non-widget, requires theme and MySQL database modifications, see below.

The style of the output may be controlled with simple CSS rules that need to be included in your styles.css template file.
The container (i.e. <ul> or <table>) has the id recentcomments (use CSS .recentcomments).
List items (i.e. <li>) have the class recentcomments (use CSS #recentcomments).

安裝方式

  • Put the complete plug-in folder into your WordPress plug-in directory (if this doesn’t make sense it probably isn’t something you should be trying) and activate it.
  • Go to your Appearance » Widgets page and include Recent Comments in your sidebar.
  • Use the configuration options to set up your widget to display recent comments as you like… 😉
  • Optionally, to use the comment flag options, the following notes must be completed…

Flag installation notes
Modify your theme to show country flags in main comment loops, you must make this change to your comments.php theme template file. Change wp_list_comments(); to sa_comment_list_with_flag();.
And you must import the wp_iptocountry.sql file into your MySQL WordPress database.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Recent Comments with Avatars〉的開發相關工作。

參與者

將〈Recent Comments with Avatars〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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