Title: DP URL Shortner
Author: danpai
Published: <strong>2011 年 12 月 26 日</strong>
Last modified: 2012 年 2 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# DP URL Shortner

 作者：[danpai](https://profiles.wordpress.org/danpai/)

[下载](https://downloads.wordpress.org/plugin/dpurlshortner.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/dpurlshortner/#description)
 * [评价](https://cn.wordpress.org/plugins/dpurlshortner/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dpurlshortner/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dpurlshortner/#developers)

 [支持](https://wordpress.org/support/plugin/dpurlshortner/)

## 描述

D(ifferent)P(lace) URL Shortner is a WordPress Plugin designed to use the most popular
URL shortening services. At this moment the only supported services are Bitly.com
and Google URL Shortner.

There are 3 ways to generate and obtain a shortlink:

 1. When you publish a post or a page
 2. When you update a published post or page
 3. When you view a post or a page that use this code
 4.     ```
        <?php echo wp_get_shortlink(); ?>
        ```
    

You can find the latest release on [GitHub](https://github.com/danpai/DPUrlShortner)

## 安装

Copy the folder dpurlshortner and its content into /wp-content/plugins

## 常见问题

### Is necessary an API key for Google URL Shortner?

No at this moment, is not strictly necessary if the number of calls is limited.

### Where can I get an API key for Google URL Shortner service?

[APIs Console](https://code.google.com/apis/console/)

### Is necessary an API key for bit.ly shortner service?

Yes

### Where can I get an API key for bit.ly shortner service?

[bitly API Documentation](http://code.google.com/p/bitly-api/wiki/ApiDocumentation#Authentication_and_Shared_Parameters)

## 评价

此插件暂无评价。

## 贡献者及开发者

「DP URL Shortner」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「DP URL Shortner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dpurlshortner)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dpurlshortner/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/dpurlshortner/)，或通过[RSS](https://plugins.trac.wordpress.org/log/dpurlshortner/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dpurlshortner/)。

## 更新日志

#### 0.1

 * This version is quite stable but it can be used as long as you know what you 
   are doing.

#### 0.2

 * This version bypass the error “SSL certificate problem, verify that the CA cert
   is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
   verify failed”.

## 额外信息

 *  版本 **0.2**
 *  最后更新：**15 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/dpurlshortner/)
 * 标签
 * [bitly](https://cn.wordpress.org/plugins/tags/bitly/)[goo.gl](https://cn.wordpress.org/plugins/tags/goo-gl/)
   [links](https://cn.wordpress.org/plugins/tags/links/)[shortner](https://cn.wordpress.org/plugins/tags/shortner/)
   [url](https://cn.wordpress.org/plugins/tags/url/)
 *  [高级视图](https://cn.wordpress.org/plugins/dpurlshortner/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/dpurlshortner/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dpurlshortner/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dpurlshortner/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://danilopaissan.net/blog/)