Title: Code Change
Last modified: August 22, 2016

---

# Code Change

 *  [hourami](https://wordpress.org/support/users/hourami/)
 * (@hourami)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/code-change/)
 * On my website when I click on the twitter or Facebook icon it gives me the full
   url and not the short code. The theme editor says that I need to change the get_permalink()
   function, but what do i change it to?
 * Thanks
 * [https://wordpress.org/plugins/wp-bitly/](https://wordpress.org/plugins/wp-bitly/)

The topic ‘Code Change’ is closed to new replies.

 * ![](https://ps.w.org/wp-bitly/assets/icon.svg?rev=3272740)
 * [Bitly's Wordpress Plugin](https://wordpress.org/plugins/wp-bitly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bitly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bitly/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bitly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bitly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bitly/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hourami](https://wordpress.org/support/users/hourami/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/code-change/)
 * Status: not resolved