內容簡介
Twitter for WordPress 外掛可以顯示你在 WordPress 部落格中的最新推文。
功能
* 簡單易用
* 可自訂
* 支援小工具
* 無選項頁面 (是的,這是一個功能)
* 僅使用 WordPress 資源 (無需額外檔案)
* 可識別 URL、電子郵件地址及 @username 回覆
使用方法
如果您使用 WordPress 小工具,只需將小工具拖曳到側邊欄並進行配置。如果小工具不適合您,可以使用以下程式碼來顯示您的公開 Twitter 訊息:
<?php twitter_messages("username"); ?>
欲知詳細資訊 (選項、自訂等),請造訪外掛首頁。
自訂
此外掛提供以下 CSS 類別:
* ul.twitter: 主 ul (如啟用列表時)
* li.twitter-item: ul 項目 (如啟用列表時)
* p.twitter-message: 每個段落 (如 msg > 1)
* .twitter-timestamp: 時間戳記 span 類別
* a.twitter-link: 推文連結類別
* a.twitter-user: @username 回覆連結類別
致謝
Ronald Heft – 此外掛高度基於他的 Pownce for WordPress 而製作,因此很大一部分的功勞歸於他。
Michael Feichtinger – 提供了多個小工具功能。
Michael Voigt – #trendingtopics 正規表示式
Allen Shaw – 連結的正規表示式微調
聯絡方式
如有建議、修復、抱怨、恭喜、贈禮等等,請發送至 rick[at]jinlabs.com。
外掛標籤
開發者團隊
原文外掛簡介
Twitter for WordPress displays yours latest tweets in your WordPress blog.
Features
* Simply
* Customizable
* Widget support
* No options page (yes, its a feature)
* Uses WordPress resources (no extra files needed)
* Detects URLs, e-mail address and @username replies
Usage
If you use WordPress widgets, just drag the widget into your sidebar and configure. If widgets are not your thing, use the following code to display your public Twitter messages:
For more info (options, customization, etc.) visit the plugin homepage.
Customization
The plug in provides the following CSS classes:
* ul.twitter: the main ul (if list is activated)
* li.twitter-item: the ul items (if list is activated)
* p.twitter-message: each one of the paragraphs (if msgs > 1)
* .twitter-timestamp: the timestamp span class
* a.twitter-link: the tweet link class
* a.twitter-user: the @username reply link class
Credits
Ronald Heft – The plugin is highly based in his Pownce for WordPress, so the major part of the credits goes to him.
Michael Feichtinger – For the multi-widget feature.
Michael Voigt – #trendingtopics regexp
Allen Shaw – link’s regexp finetune
Contact
Suggestion, fixes, rants, congratulations, gifts et al to rick[at]jinlabs.com
