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

Twitter Status

外掛說明

Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds, this request will trigger the Plugin to get all Author profiles with a twitter ID, and update their Twitter status, given that they haven’t been updated in at least 30 minutes and with a limit of 5 twitter profiles per request.

You can change these settings by editing the plugin file (before activating it).. the settings are easily accessible, no knowledge of PHP required.. I will incorporate a configuration page in future versions, for now I wanted to make an initial release that’s down to the complete basics.

Usage

After installing, edit the author profiles in wp-admin that you would like to assign a Twitter profile to.

You can use the following tags in your templates:

<?php twitter('Username') ?>
<?php twitter('twitter_id=xxxx') ?>
<?php twitter('user_id=xxxx') ?>

These functions will all echo the current status stored in the Database for the given user.

You can use the following function to get the twitter status DIRECTLY from twitter, but keep in mind that using this will cause a delay in the loadtime of the page;

<?php echo twitter_status_get('xxx') ?>

For “xxx” enter the twitter ID.

螢幕擷圖

  • A sample Twitter status, received by the plugin

安裝方式

Unzip the twitter-status folder into your plugins folder and activate the plugin in your admin cp.

常見問題集

None..

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Twitter Status〉的開發相關工作。

參與者

將〈Twitter Status〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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