內容簡介
將這個小工具加到你的側邊欄後,你可以輕鬆地配置它以顯示帶有評論作者頭像的最新評論。選項如下:
小工具的標題。
顯示的評論數量限制 (1 到 15)。
選擇是否顯示評論作者的頭像。
設定頭像大小。
選擇是否在新視窗中打開評論作者的網址(如果有提供)。
選擇是否顯示評論日期。
設定日期格式。
設定日期字串大小(相對於常規字體大小的分數)。
顯示評論摘要。
將摘要中的表情符號轉換為圖像。
顯示表示評論來源國家的國旗,需要進行 MySQL 資料庫修改,請參見下文。
在主評論循環中(非小工具)顯示表示國家來源的國旗,需要進行佈景主題和 MySQL 資料庫修改,請參見下文。
輸出的樣式可以通過簡單的 CSS 規則來控制,這些規則需要包含在你的 styles.css 模板文件中。
容器元素(例如 <ul> 或 <table>)的 id 名稱是 recentcomments(使用 CSS 選擇器 .recentcomments)。
列表項元素(例如 <li>)的 class 名稱是 recentcomments(使用 CSS 選擇器 #recentcomments)。
外掛標籤
開發者團隊
原文外掛簡介
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.
