Title: Make Clickable Tweet
Author: clarklab
Published: <strong>2012 年 4 月 4 日</strong>
Last modified: 2012 年 4 月 4 日

---

搜尋外掛

![](https://ps.w.org/make-clickable-tweet/assets/banner-772x250.png?rev=527044)

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

![](https://s.w.org/plugins/geopattern-icon/make-clickable-tweet_eeeeee.svg)

# Make Clickable Tweet

 由 [clarklab](https://profiles.wordpress.org/clarklab/) 開發

[下載](https://downloads.wordpress.org/plugin/make-clickable-tweet.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/make-clickable-tweet/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/make-clickable-tweet/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/make-clickable-tweet/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/make-clickable-tweet/#developers)

 [技術支援](https://wordpress.org/support/plugin/make-clickable-tweet/)

## 外掛說明

In a recent project, I had a bunch of tweet content saved and needed a way to convert
all URLs, hashtags, and user mentions into clickable links. I found that WordPress
has a built-in function called [make_clickable()](https://codex.wordpress.org/Function_Reference/make_clickable),
but it just works with plain URLs, so I took it one more step to make_clickable_tweet().
It’s basically a regular expression wrapped in a simple function, but I figured 
someone else out there might need it.

## 安裝方式

Using the plugin is pretty dang simple, as the function only has one parameter: 
the content you wanted returned in a clickable form. To use the plugin, simply activate
it then start using the function in your templates like so:

    ```
    <?php make_clickable_tweet($tweetcontent); ?>
    ```

Of course, that above function will simply return the tweet content, if you’d like
to display it in your templates you might want to toss an echo in front there.

If you want to be super-duper safe (and smart), you might want to wrap the whole
thing

    ```
    <?php
    if (function_exists('make_clickable_tweet'))
    {
    make_clickable_tweet($tweetcontent);
    }
    ?>
    ```

## 常見問題集

  Why did you make this?

I had a bunch of tweet data that I needed to render like a real tweets.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ clarklab ](https://profiles.wordpress.org/clarklab/)

[將〈Make Clickable Tweet〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/make-clickable-tweet)

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

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

## 變更記錄

#### 0.2

Changed order of regular expressions.

#### 0.1

Release

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **14 年前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 2.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.3.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/make-clickable-tweet/)
 * 標籤:
 * [regex](https://tw.wordpress.org/plugins/tags/regex/)[tweet](https://tw.wordpress.org/plugins/tags/tweet/)
   [twitter](https://tw.wordpress.org/plugins/tags/twitter/)
 *  [進階檢視](https://tw.wordpress.org/plugins/make-clickable-tweet/advanced/)

## 評分

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

[撰寫評分](https://wordpress.org/support/plugin/make-clickable-tweet/reviews/#new-post)

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

## 參與者

 *   [ clarklab ](https://profiles.wordpress.org/clarklab/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://clarklab.com/)