外掛說明
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
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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


