[WordPress] 外掛分享: Featured Comment Widget

首頁外掛目錄 › Featured Comment Widget
WordPress 外掛 Featured Comment Widget 的封面圖片
30+
安裝啟用
★★★★★
5/5 分(2 則評價)
3838 天前
最後更新
問題解決
WordPress 2.3+ v1.7 上架:2011-04-03

內容簡介

特色留言外掛讓您可以在網站上突顯您最喜歡的留言。

安裝此外掛程式會在您的 WordPress 儀表板「外觀」選單下的「小工具」子選單中新增特色留言小工具,使用者可以輸入希望放置於側邊欄的留言 ID (也可以輸入多個 ID),系統會顯示出留言者的名稱、Gravatar 圖像和留言內容。名稱與圖像會自動連結至該篇留言,讓使用者直接閱讀。

小工具 CSS 樣式表

以下為要給想自訂樣式的使用者所說明每個類別的用途及其相應的預設樣式:

.featuredComment-comment – 單一留言區塊包含內容和引用,預設值:{ margin: 20px auto; }
.featuredComment-comment-content – 留言內容,預設值:{ margin: 3px auto 5px;}
.featuredComment-cite – 引用,包含 Gravatar 圖像和作者名稱,預設值:{ display: block; text-align: left; line-height: 1em;}
.featuredComment-gravatar – 引用內的 Gravatar 圖像,預設值:{float: right; padding: 0px 5px;}
.featuredComment-author – 引用中作者的連結,預設值:{float: right;}

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Featured Comment Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Featured Comment Widget gives you the ability to shine a spotlight on some of your favorite comments on the site.
Installing this plugin adds the Featured Comment Widget to your list of available widgets in the ‘Widgets’ submenu (which you can find under ‘Appearance’ in your WordPress dashboard). Every comment has an numeric ID, and putting that ID in the widget form results in the that comment (or commentS if you enter multiple IDs), along with the name and Gravatar of its commenter, showing in the sidebar. The Gravatar and username is automatically a link to that comment in its respective post.
Widget CSS
The following are the classes and explanations of them for those of you who want to style your widget in the custom.css file:

.featuredComment-comment – a single comment block containing the content and citation, default: { margin: 20px auto; }
.featuredComment-comment-content – the comment text, default: { margin: 3px auto 5px;}
.featuredComment-cite – the citation that includes gravatar and author name, default: { display: block; text-align: left; line-height: 1em;}
.featuredComment-gravatar – the gravatar image within citation, default: {float: right; padding: 0px 5px;}
.featuredComment-author – the “posted by …” author link within citation, default: {float: right;}

延伸相關外掛

文章
Filter
Apply Filters
Mastodon