Title: Tiny URL
Author: Prasanna SP
Published: <strong>2012 年 9 月 3 日</strong>
Last modified: 2013 年 3 月 18 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/tiny-url.svg)

# Tiny URL

 由 [Prasanna SP](https://profiles.wordpress.org/prasannasp/) 開發

[下載](https://downloads.wordpress.org/plugin/tiny-url.1.3.4.zip)

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

 [技術支援](https://wordpress.org/support/plugin/tiny-url/)

## 外掛說明

This plugin shows Tiny URL for each of your blog posts after post content. Tiny 
URLs are great for sharing your posts on micro-blogging sites like twitter, identi.
ca etc., This plugin sends the URL of current post or page to [TinyURL.com](http://tinyurl.com)
and gets a Tiny URL for the same. Then it shows that Tiny URL after post content.
User can just click on the box to select URL, or click on Copy button to Copy the
Tiny URL to clipboard. You can also show Tiny URL for pages by selecting _Show Tiny
URL on pages_ option in plugin settings page.

**Note:** Please read TinyURL’s [terms of use](http://tinyurl.com/#terms) before
activating the plugin. You must abide by them after activating the plugin. TinyURL
is a trademark of TinyURL, LLC

**Demo:** See demo of this plugin here – [Tiny URL WordPress plugin demo](http://demo.prasannasp.net/tiny-url/)

**Support:** Please post your support questions at [Tiny URL plugin support forum](http://forum.prasannasp.net/forum/plugin-support/tiny-url/)

Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress
Plugins** from the developer.

#### How to style the output?

The output of this plugin is wrapped in `<p>` tag. Use `.tiny-url` CSS class to 
style it
 Example,

    ```
    .tiny-url {
    color: #FF0000;
    }
    ```

#### How to change the style of Copy button?

Use CSS class `.tiny-url-button` to change it’s style.
 Example:

    ```
    .tiny-url-button {
    background: #123456;
    color: #654321;
    }
    ```

## 螢幕擷圖

 * [[
 * Plugin showing Tiny URL for a blog post
 * [[
 * Tiny URL with Copy button
 * [[
 * Tiny URL options page

## 安裝方式

 1. Upload the `tiny-url` folder to the `/wp-content/plugins/` directory
 2. Activate the Tiny URL plugin through the ‘Plugins’ menu in WordPress
 3. Plugin will automatically add Tiny URLs for blog posts

## 常見問題集

  Where can I get help from?

Post your questions or report issue in the [support forum](http://forum.prasannasp.net/forum/plugin-support/tiny-url/).
You can directly contact the developer using this [contact form](http://www.prasannasp.net/contact/).

  Does it show Tiny URLs for pages as well?

Yes, it does. But, you need to enable this feature on Tiny URL plugin options page.

  Copy button is not showing up next to Tiny URL. Why?

Make sure you’ve selected **Show Copy URL button** in Tiny URL options.

  Copy URL to clipboard is not working

This function requires flash. Make sure the flash player is installed in your system

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Prasanna SP ](https://profiles.wordpress.org/prasannasp/)

[將〈Tiny URL〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tiny-url)

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

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

## 變更記錄

#### 1.3.4

 * Enqueue ZeroClipboard js files only if the copy to clipboard option is enabled.
 * Moved inline jQuery script to a new file `ZeroClipboardMain.js`

#### 1.3.3

 * Fixed an XSS vulnerability caused by an older version of the ZeroClipboard. Updated
   ZeroClipboard.swf and ZeroClipboard.js.
 * Correctly enqueue the minified version of ZeroClipboard.js

#### 1.3.2

 * Security update: Validate input for Copy button text
 * Moved JavaScript out of the input field. So, if the JavaScript if disabled in
   the client’s browser, the HTML will still be valid.

#### 1.3.1

 * Removed unnecessary JavaScript from footer and using just `onClick="this.focus();
   this.select();"` to select Tiny URL on mouse click.

#### 1.3

 * Added option to copy URL to clipboard with a single mouse click
 * Code enhancements

#### 1.2.1

 * Fixed the issue of select Tiny URL script not being loaded on pages when Tiny
   URL is enabled for pages.

#### 1.2

 * Added option to show Tiny URL for **pages** as well. This will be disabled by
   default. User has to enable this on plugin settings page

#### 1.1

 * Added option to change Tiny URL title (Tiny URL for this post:). You can change
   this in Tiny URL options page on WP-Admin

#### 1.0

 * Initial public release.

## 中繼資料

 *  版本 **1.3.4**
 *  最後更新 **13 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.5.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/tiny-url/)
 * 標籤:
 * [short link](https://tw.wordpress.org/plugins/tags/short-link/)[short url](https://tw.wordpress.org/plugins/tags/short-url/)
   [shorturl](https://tw.wordpress.org/plugins/tags/shorturl/)[tiny url](https://tw.wordpress.org/plugins/tags/tiny-url/)
   [tinyurl](https://tw.wordpress.org/plugins/tags/tinyurl/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tiny-url/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/tiny-url/reviews/#new-post)

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

## 參與者

 *   [ Prasanna SP ](https://profiles.wordpress.org/prasannasp/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://www.prasannasp.net/donate/)