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

Tip of the Day

外掛說明

Tip of The Day is a plugin that display random tips, quotes, polls… for your users, in a widget.

=Features=
* Widgetized
* You can make a poll of your tip. The logged users will be able to answer to it and you’ll see the results in the dashboard. You can set custom answers.
* Uses custom post types and taxonomies, very easy to admin the tips.
* Ability for a logged user to hide a tip definitely. It will no more appear to him. When creating your tip, you can choose if it is hidable or not.
* Ajaxed. You can refresh the tip, close it, answer to a poll or hide it definitely without leaving the page.

Know Bugs

  • Fatal error at the activation (function duplicated ?)
  • Ajax functions not firing when using WP (it works with BP)

螢幕擷圖

  • Example of a tip
  • Ajax links for a tip
  • Poll tip with the answer of the user checked

安裝方式

WordPress 3 and above

  1. Check you have WordPress 3.0+
  2. Download the plugin
  3. Unzip and upload to plugins folder
  4. Activate the plugin.

常見問題集

How can I style my tips ?

Use CSS !
There also are specific classes for your tips :
-a poll tip gets the class “totd-question”,
-each tag given to a tip is used as class like “totd-tag-XXX” where XXX is the tag slug.

How can I change how the tip query is made ?

You can filter the query arguments with the filter “totd_the_tips_query_args” to modify the query arguments (show more than one tip, exclude some tips, …)

How can I display custom content (eg. PHP code) in the tip ?

You can filter the content of the excerpt of a WordPress post using the filters “the_content” and “the_excerpt”.
Here’s an example which uses the plugin BuddyPress Profile Progression to display a tip about how much the logged in user’s profile is filled : http://pastie.org/1289904

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Tip of the Day〉的開發相關工作。

參與者

將〈Tip of the Day〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1

  • First version