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

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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Makhlas」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志