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

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的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://cn.wordpress.org/plugins/tiny-url/#description)
 * [评价](https://cn.wordpress.org/plugins/tiny-url/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tiny-url/#installation)
 * [开发进展](https://cn.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⌉⌊Plugin showing Tiny URL for a blog post⌉[

Plugin showing Tiny URL for a blog post

[⌊Tiny URL with Copy button⌉⌊Tiny URL with Copy button⌉[

Tiny URL with Copy button

[⌊Tiny URL options page⌉⌊Tiny URL options page⌉[

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 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tiny-url/)
 * 标签
 * [short link](https://cn.wordpress.org/plugins/tags/short-link/)[short url](https://cn.wordpress.org/plugins/tags/short-url/)
   [shorturl](https://cn.wordpress.org/plugins/tags/shorturl/)[tiny url](https://cn.wordpress.org/plugins/tags/tiny-url/)
   [tinyurl](https://cn.wordpress.org/plugins/tags/tinyurl/)
 *  [高级视图](https://cn.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/)