Title: Makhlas
Author: farmad
Published: <strong>2017 年 10 月 2 日</strong>
Last modified: 2017 年 10 月 2 日

---

搜索插件

![](https://ps.w.org/makhlas/assets/banner-772x250.png?rev=1739509)

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

![](https://ps.w.org/makhlas/assets/icon-256x256.png?rev=1739509)

# Makhlas

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

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

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

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

## 描述

Makhlas is the easiest way to replace the internally generated WordPress shortlinks.

Shortlinks are a great way to quickly share posts on social media like Twitter, 
Facebook and Whatsapp. Just finished writing an amazing post and want to share that
post with your friend? It’s a lot easier to text message a shortlink than the entire
address.

#### Available Template Tags

 * `makhlas_the_short_url_link()` outputs an anchor (a) tag, ex: `<a href="http://
   ly.gy/sample" class="makhlas short-link" rel="nofollow">http://ly.gy/sample</
   a>`
 * `makhlas_get_the_short_link` retrieves the above anchor for storage in a variable
 * `makhlas_the_short_url()` outputs the short URL, ex: `http://ly.gy/sample`
 * `makhlas_get_the_short_url()` retrieves the above URL for storage in a variable
 * `makhlas_the_short_url_input()` outputs an form input (a) tag, ex: `<input class
   ="makhlas short-url-input" type="text" value="http://ly.gy/sample"></input>`

## 安装

 1. Upload the zip file to the /wp-content/plugins/ directory
 2. Unzip
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Visit the settings page under Makhlas to add API key

## 常见问题

  Installation Instructions

 1. Upload the zip file to the /wp-content/plugins/ directory
 2. Unzip
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Visit the settings page under Makhlas to add API key

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  PHP 版本 ** 5.2.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/makhlas/)
 * 标签
 * [link](https://cn.wordpress.org/plugins/tags/link/)[shorturl](https://cn.wordpress.org/plugins/tags/shorturl/)
   [url](https://cn.wordpress.org/plugins/tags/url/)[url shortener](https://cn.wordpress.org/plugins/tags/url-shortener/)
   [url shortening](https://cn.wordpress.org/plugins/tags/url-shortening/)
 *  [高级视图](https://cn.wordpress.org/plugins/makhlas/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://makhlas.com/)