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://ww.wp.xz.cn/plugins/social-networks-auto-poster-facebook-twitter-g/
The topic ‘Feature Request: Post ID as shortcode’ is closed to new replies.