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

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Make Clickable Tweet

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

[Télécharger](https://downloads.wordpress.org/plugin/make-clickable-tweet.zip)

 * [Détails](https://fr.wordpress.org/plugins/make-clickable-tweet/#description)
 * [Avis](https://fr.wordpress.org/plugins/make-clickable-tweet/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/make-clickable-tweet/#installation)
 * [Développement](https://fr.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.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Make Clickable Tweet » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « Make Clickable Tweet » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/make-clickable-tweet)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/make-clickable-tweet/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/make-clickable-tweet/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/make-clickable-tweet/)
par [RSS](https://plugins.trac.wordpress.org/log/make-clickable-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 0.2

Changed order of regular expressions.

#### 0.1

Release

## Méta

 *  Version **0.2**
 *  Dernière mise à jour **il y a 14 ans**
 *  Installations actives **90+**
 *  Version de WordPress ** 2.7 ou plus **
 *  Testé jusqu’à **3.3.2**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/make-clickable-tweet/)
 * Étiquettes
 * [regex](https://fr.wordpress.org/plugins/tags/regex/)[tweet](https://fr.wordpress.org/plugins/tags/tweet/)
   [twitter](https://fr.wordpress.org/plugins/tags/twitter/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/make-clickable-tweet/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

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

[Voir tous les avis](https://wordpress.org/support/plugin/make-clickable-tweet/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://clarklab.com/)