Title: Make Clickable Tweet
Author: clarklab
Published: <strong>4 d'abril de 2012</strong>
Last modified: 4 d'abril de 2012

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Make Clickable Tweet

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

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

 * [Detalls](https://ca.wordpress.org/plugins/make-clickable-tweet/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/make-clickable-tweet/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/make-clickable-tweet/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/make-clickable-tweet/#developers)

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

## Descripció

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.

## Instal·lació

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

## PMF

  Why did you make this?

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

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Make Clickable Tweet» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

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

[Traduïu «Make Clickable Tweet» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/make-clickable-tweet)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/make-clickable-tweet/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/make-clickable-tweet/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/make-clickable-tweet/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/make-clickable-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.2

Changed order of regular expressions.

#### 0.1

Release

## Meta

 *  Versió **0.2**
 *  Darrera actualització **fa 14 anys**
 *  Instal·lacions actives **90+**
 *  Versió del WordPress ** 2.7 o posterior **
 *  Provada fins a **3.3.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/make-clickable-tweet/)
 * Etiquetes
 * [regex](https://ca.wordpress.org/plugins/tags/regex/)[tweet](https://ca.wordpress.org/plugins/tags/tweet/)
   [twitter](https://ca.wordpress.org/plugins/tags/twitter/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/make-clickable-tweet/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/make-clickable-tweet/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/make-clickable-tweet/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://clarklab.com/)