Title: Using post short link
Last modified: August 21, 2016

---

# Using post short link

 *  [victor.pillac](https://wordpress.org/support/users/victorpillac/)
 * (@victorpillac)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/using-post-short-link/)
 * Hi,
 * Great plugin!
 * It would be even better to be able to share the short url instead of the slug(
   get_short_link())
 * Cheers
 * [https://wordpress.org/plugins/simple-share-buttons-adder/](https://wordpress.org/plugins/simple-share-buttons-adder/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jhmattern](https://wordpress.org/support/users/jhmattern/)
 * (@jhmattern)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/using-post-short-link/#post-4706373)
 * I’ll second this. I run custom shorturls for branding and sharing, and this is
   the first sharing plugin I’ve used where I couldn’t choose the short url instead
   of the full permalink. Anyone who tracks their shared links via something like
   bitly would need this option. It would be great if it could be added in the next
   release. 🙂
 *  [jhmattern](https://wordpress.org/support/users/jhmattern/)
 * (@jhmattern)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/using-post-short-link/#post-4706374)
 * If anyone’s curious about making the change in the meantime, you can just edit
   simple-share-buttons-adder.php.
 * Change:
 * get_permalink ($post->ID)
 * To:
 * wp_get_shortlink ()
 * That’s what worked for me at least. Now it’s pulling my custom shorturls instead
   of the permalinks.
 *  [snellpacha](https://wordpress.org/support/users/tartatin/)
 * (@tartatin)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/using-post-short-link/#post-4706463)
 * Great hack, would be wonderful to have it included in the next plugin update !

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using post short link’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [snellpacha](https://wordpress.org/support/users/tartatin/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/using-post-short-link/#post-4706463)
 * Status: not resolved