[WordPress] 外掛分享: Makhlas

首頁外掛目錄 › Makhlas
WordPress 外掛 Makhlas 的封面圖片
10+
安裝啟用
尚無評分
3089 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 5.2.4+ v1.0.0 上架:2017-10-01

內容簡介

Makhlas 是取代 WordPress 內部自動產生的簡短網址的最簡單方法。

簡短網址是在社交媒體上快速分享文章的好方法,例如 Twitter、Facebook 和 Whatsapp。剛寫了一篇精彩的文章,想和你的朋友分享?發送簡短網址比輸入整個網址容易得多。

可用的模板標籤

makhlas_the_short_url_link() 輸出一個 anchor (a) 標籤,例如:<a href="http://ly.gy/sample" class="makhlas short-link" rel="nofollow">http://ly.gy/sample</a>
makhlas_get_the_short_link 檢索上述 anchor 以便儲存至變數中
makhlas_the_short_url() 輸出簡短網址,例如:http://ly.gy/sample
makhlas_get_the_short_url() 檢索上述網址以便儲存至變數中
makhlas_the_short_url_input() 輸出一個表單輸入 (input) 標籤,例如:<input class="makhlas short-url-input" type="text" value="http://ly.gy/sample"></input>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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: http://ly.gy/sample
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:

延伸相關外掛

文章
Filter
Apply Filters
Mastodon