Makhlas

Created by: Ali Farmad

Rating:
Downloaded: 1k times

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>

Screenshots

    Categories

    Get New Themes & Resources