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

Smart Recent Comments

描述

When you set up a new blog there aren’t any comments to start off with–it takes time until you get your first real person to participate in the discussion. When you use the default ‘recent comments’ widget in WordPress you are left with a ‘recent comments’ title in your sidebar and no comments listed under it. This plugin will replace that recent comments widget with a smarter one. The recent comments widget in your sidebar will not show until you start getting comments. Once you get your first comment, the widget will automatically appear so you can show off your latest comments. In all other ways this is exactly the same as the default WordPress recent comments widget. There is no configuration required with this plugin so once you install it you are good to go.

Screencast

This short screencast demonstrates how to use the Smart Recent Comments plugin. View it here.

螢幕截圖

  • The problem: Default behavior of WordPress recent comments widget when there are no comments to show

安裝

  1. From WP admin > Plugins > Add New
  2. Search “Smart Recent Comments” under search and hit Enter
  3. Click “Install Now”
  4. Click the Activate Plugin link

常見問題

Why did you make this plugin?

In the course of developing WordPress websites, I came accross the following problem:
I would first build the site using the ‘Hi, this is a comment.’ default comment from Mr WordPress. When the site is ready to go live, I delete that comment. Now the site looks funny because there is a lonely ‘Recent Comments’ title in the sidebar with nothing under it (see screenshot). I figured I could either a) remove the widget, wait until the site gets its first comment, and then add it again (the problem with this option is that I would probably forget to do that later on) or b) make a plugin so that the recent comments widget only appears if any comments exist.

Do I have to do anything beyond installing the plugin?

Nope that is all.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial version