
內容簡介
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>
外掛標籤
開發者團隊
原文外掛簡介
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:
