跳到内容

Twitter Status

v1.0.3

Naatan · 2008年11月17日 上架

Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message for your blog authors.

正在使用
10+
评分
暂无
累计下载
3,240
最近更新
2008年11月20日
需要 WordPress 2.5+已测试到 2.7

贡献者

截图

A sample Twitter status, received by the plugin
A sample Twitter status, received by the plugin

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums