跳到内容

Makhlas

v1.0.0

farmad · 2017年10月2日 上架

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

正在使用
10+
评分
暂无
累计下载
2,289
最近更新
2017年10月2日
需要 WordPress 3.0.1+已测试到 3.4.2PHP 5.2.4+

贡献者

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>

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums