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.
makhlas_the_short_url_link() outputs an anchor (a) tag, ex: http://ly.gy/samplemakhlas_get_the_short_link retrieves the above anchor for storage in a variablemakhlas_the_short_url() outputs the short URL, ex: http://ly.gy/samplemakhlas_get_the_short_url() retrieves the above URL for storage in a variablemakhlas_the_short_url_input() outputs an form input (a) tag, ex: