外掛說明
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 variablemakhlas_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 variablemakhlas_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>
安裝方式
- Upload the zip file to the /wp-content/plugins/ directory
- Unzip
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the settings page under Makhlas to add API key
常見問題集
- Installation Instructions
-
- Upload the zip file to the /wp-content/plugins/ directory
- Unzip
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the settings page under Makhlas to add API key
使用者評論
這個外掛目前沒有任何使用者評論。