Title: Shortcode for slugs
Last modified: November 29, 2016

---

# Shortcode for slugs

 *  [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * (@anefarious1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-slugs/)
 * Can I make a shortcode that will insert the post slug name in posts? I want to
   use the same shortcode on all posts and have the slug output match each post.
   So all posts would have a different slug and the shortcode would adjust to show
   the corresponding slug? Possible? hanks

The topic ‘Shortcode for slugs’ is closed to new replies.

 * ![](https://ps.w.org/shortcoder/assets/icon.svg?rev=2222236)
 * [Shortcoder — Create Shortcodes for Anything](https://wordpress.org/plugins/shortcoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcoder/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcoder/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [anefarious1](https://wordpress.org/support/users/anefarious1/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/shortcode-for-slugs/)
 * Status: not resolved