Title: Feature Request: Post ID as shortcode
Last modified: August 30, 2016

---

# Feature Request: Post ID as shortcode

 *  Resolved [Seth Miller](https://wordpress.org/support/users/wandering-aramean/)
 * (@wandering-aramean)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-post-id-as-shortcode/)
 * Can we get the ID number of the post as a built-in shortcode for the post content?
   This is useful in certain circumstances because BASEURL?p=ID will always go to
   the post, regardless of the syntax used in post naming. And for certain short
   URL schemes that is preferred. Especially where unicode URLs are in play as those
   are less well supported by 3rd party shortening services.
 * I’m working around it now by defining a custom field for every post which is 
   the same number and then using the %CF% shortcode, but that is extra work to 
   recreate information which should be easy to pull otherwise.
 * Thanks for considering this and let me know if you need clarification.
 * [https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)

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

 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/feature-request-post-id-as-shortcode/#post-6336785)
 * [http://www.nextscripts.com/snap-features/message-formatting-tags/](http://www.nextscripts.com/snap-features/message-formatting-tags/)
 * %ORID% – Original ID. Post ID for WordPress.
 *  Thread Starter [Seth Miller](https://wordpress.org/support/users/wandering-aramean/)
 * (@wandering-aramean)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/feature-request-post-id-as-shortcode/#post-6336796)
 * Thanks!
 * Didn’t see it in the admin console or in my (admittedly cursory) search.

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

The topic ‘Feature Request: Post ID as shortcode’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [Seth Miller](https://wordpress.org/support/users/wandering-aramean/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/feature-request-post-id-as-shortcode/#post-6336796)
 * Status: resolved