[Resolved] [Plugin: Shortcodes Pro] Get post ID
First off, great work on Shortcodes Pro, it is proving to be a very handy tool. I have just one question, in the custom PHP code section of the UI, can I get the post_id of the current post? I have tried using $content[‘ID’] but with no luck, is there some built in var with the post info that can be used? I need to do this as I am running an SQL query in my shortcode and the where clause needs to take in the current post ID. Hope all that makes sense.
Thanks again for such a cool plugin 🙂
- The topic ‘[Resolved] [Plugin: Shortcodes Pro] Get post ID’ is closed to new replies.