Title: Make Clickable Tweet
Author: clarklab
Published: <strong>4 aprila, 2012</strong>
Last modified: 4 aprila, 2012

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Make Clickable Tweet

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

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

 * [Details](https://sl.wordpress.org/plugins/make-clickable-tweet/#description)
 * [Reviews](https://sl.wordpress.org/plugins/make-clickable-tweet/#reviews)
 *  [Installation](https://sl.wordpress.org/plugins/make-clickable-tweet/#installation)
 * [Development](https://sl.wordpress.org/plugins/make-clickable-tweet/#developers)

 [Support](https://wordpress.org/support/plugin/make-clickable-tweet/)

## Description

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.

## Installation

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);
    }
    ?>
    ```

## FAQ

  Why did you make this?

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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Make Clickable Tweet” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Make Clickable Tweet” into your language.](https://translate.wordpress.org/projects/wp-plugins/make-clickable-tweet)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/make-clickable-tweet/),
check out the [SVN repository](https://plugins.svn.wordpress.org/make-clickable-tweet/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/make-clickable-tweet/)
by [RSS](https://plugins.trac.wordpress.org/log/make-clickable-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.2

Changed order of regular expressions.

#### 0.1

Release

## Meta

 *  Version **0.2**
 *  Last updated **14 let ago**
 *  Active installations **90+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/make-clickable-tweet/)
 * Tags
 * [regex](https://sl.wordpress.org/plugins/tags/regex/)[tweet](https://sl.wordpress.org/plugins/tags/tweet/)
   [twitter](https://sl.wordpress.org/plugins/tags/twitter/)
 *  [Advanced View](https://sl.wordpress.org/plugins/make-clickable-tweet/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/make-clickable-tweet/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/make-clickable-tweet/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/make-clickable-tweet/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://clarklab.com/)