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

---

Ieškoti įskiepiuose

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

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

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

# Make Clickable Tweet

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

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

 * [Informacija](https://lt.wordpress.org/plugins/make-clickable-tweet/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/make-clickable-tweet/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/make-clickable-tweet/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/make-clickable-tweet/#developers)

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

## Aprašymas

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.

## Diegimas

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

## DUK

  Why did you make this?

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

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Make Clickable Tweet” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

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

[Išverskite “Make Clickable Tweet” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/make-clickable-tweet)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/make-clickable-tweet/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/make-clickable-tweet/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/make-clickable-tweet/)
per [RSS](https://plugins.trac.wordpress.org/log/make-clickable-tweet/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 0.2

Changed order of regular expressions.

#### 0.1

Release

## Metainformacija

 *  Version **0.2**
 *  Atnaujinta **prieš 14 metų**
 *  Aktyvių instaliacijų **100+**
 *  WordPress versija ** 2.7 ar naujesnė **
 *  Ištestuota iki **3.3.2**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/make-clickable-tweet/)
 * Žymos
 * [regex](https://lt.wordpress.org/plugins/tags/regex/)[tweet](https://lt.wordpress.org/plugins/tags/tweet/)
   [twitter](https://lt.wordpress.org/plugins/tags/twitter/)
 *  [Daugiau](https://lt.wordpress.org/plugins/make-clickable-tweet/advanced/)

## Įvertinimai

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/)

## Autoriai

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

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/make-clickable-tweet/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](http://clarklab.com/)