Title: Twitter Tags
Author: Eldon McGuinness
Published: <strong>2013 年 10 月 4 日</strong>
Last modified: 2014 年 1 月 28 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/twitter-tags.svg)

# Twitter Tags

 由 [Eldon McGuinness](https://profiles.wordpress.org/elmcguinness/) 開發

[下載](https://downloads.wordpress.org/plugin/twitter-tags.1.2.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/twitter-tags/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/twitter-tags/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/twitter-tags/#developers)

 [技術支援](https://wordpress.org/support/plugin/twitter-tags/)

## 外掛說明

### Twitter Hashtags Syntax

In the body of your post use the [twitter_hashtag] shortcode to create a hashtag
link to the twitter site that will open in its own window. This is great for directing
people to a trending topic on twitter.

### Twitter Usertags Syntax

In the body of your post use the [twitter_user] shortcode to create a usertag link
to the twitter site that will open in its own window. This is great for directing
people to a specific person’s twitter feed.

### Attributes

The shortcode does allow for two attributes to be passed to it:

 * A CSS class tag
 * An alias to pass to the twitter site

#### Class

Want to give the shortcode text a particular look n’ feel? If so you can specify
a class name for the link in question by specifying the class attribute.

    ```
    #!shortcode
    [twitter_hashtag class="custom_class"]Some Tag[/twitter_hashtag]
    [twitter_user class="custom_class"]Some User[/twitter_user]
    ```

#### Alias

Since a large number of hash tags and usernames will either not make lexical sense
or are just plain jibberish, the shortcode contents can be seperated from the actual
tag in question.

    ```
    #!shortcode
    [twitter_hashtag alias="crazyname42"]Crazy Name[/twitter_hashtag]
    [twitter_user alias="someodduser"]John Smith[/twitter_user]
    ```

As noted above, the twitter tag will appear as [Crazy Name](http://twitter.com/search?1=%23crazyname42),
but the hashtag searched fro on twitter will be #crazyname42.
 The usertag will 
be shown as [John Smith](http://twitter.com/someodduser), while the name searched
for on twitter will be @someodduser.

### Removal of White Spaces

It should be noted that white spaces in the shortcode contents–everything between
the opening and closing tags–will be removed automatically when creating the hashtag
or usertag, but it will remain in the post as written.

    ```
    #!shortcode
    [twitter_hashtag]New Widget[/twitter_hashtag]
    [twitter_user]John Smith[/twitter_user]
    ```

In your post, New Widget will remain as typed, but the hashtag will be compressed
to NewWidget.

In your post, John Smith will remain as typed, but the usertag will be compressed
to JohnSmith.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Eldon McGuinness ](https://profiles.wordpress.org/elmcguinness/)

[將〈Twitter Tags〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/twitter-tags)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/twitter-tags/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/twitter-tags/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/twitter-tags/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/twitter-tags/)。

## 中繼資料

 *  版本 **1.2.1**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.6.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/twitter-tags/)
 * 標籤:
 * [shortcodes](https://tw.wordpress.org/plugins/tags/shortcodes/)[twitter](https://tw.wordpress.org/plugins/tags/twitter/)
 *  [進階檢視](https://tw.wordpress.org/plugins/twitter-tags/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/twitter-tags/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/twitter-tags/reviews/)

## 參與者

 *   [ Eldon McGuinness ](https://profiles.wordpress.org/elmcguinness/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/twitter-tags/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://progressivethink.in/donate)