该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Twitter API Shortcodes

描述

Twitter API Shortcodes (TAS for short) is currently in Alpha, and should not be considered at all stable! With that said
please provide any feedback so we can make things better!

TAS allows you to put single tweets or entire twitter searches into your posts and pages using shortcodes. The tweets and searches
are displayed in HTML markup, so the become “part” of your site, which is good for SEO.

The generated markup can be customized by putting a tweet.tpl (smarty template) file into your theme directory. This also means that
theme authors can support this plugin directly.

Tweet templates assume that each tweet is in some block with the class ‘status’ (preferably a div like so

<

div class=”status”>), and that in that block, there is a block for images with the class ‘images’ (preferably a div like so

<

div class=”images”>)

All single tweets are cached in your local wordpress database, making performance ultra fast and reducing the number of requests
necessary to the Twitter API.

Twitter searches can also be cached, allowing you to keep a history of that particular search. This is useful if you want to
tweet about a particular event with a hash tag, then display all of your tweets for that event on a page, or in a post even
after those tweets fall out of the twitter search index.

TODO

This is a list of things which currently are not yet working (hey it’s an alpha version)
* Avatar updates

屏幕截图

安装

Twitter API Shortcodes depends upon the Smarty PHP templating engine. Since we’re good little boys and girls, we won’t include the library with the plugin, so you’ll have to go get it yourself! But don’t worry, it’s not hard simply go to;

http://www.smarty.net/download.php

And grab the latest stable version. Twitter API Shortcodes was built using version 2.6.26, but it’s probably safe to assume that any 2.6.x version of Smarty will do.

Once you’ve got the latest version, extract the zip, or tar.gz file, and copy the contents of the “libs” directory to /wp-content/twitter-api-shortcodes/libs/smarty/

Update 0.0.3Alpha From version 0.0.3Alpha of TAS onward Smarty 3.0.x is supported too, but be sure you’re running PHP5 before you try Smarty 3!

常见问题

TODO

评价

此插件暂无评价。

贡献者及开发者

「Twitter API Shortcodes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.0.3Alpha

  • The “Why Authenticate” dialog can be reopened after being dismissed
  • Updated to support Smarty 3.0.x

0.0.2Alpha

  • Changes to metadata files (like this readme) and getting a feel for the WordPress submission process

0.0.1Alpha

  • Initial Alpha release, seeking input from brave users