[wp-hackers] Get URL of page with shortcode
rbilesky at gmail.com
Wed Feb 2 22:29:41 UTC 2011
These ae all good ideas. I was just wondering what the best method is and
it seems to me that using wp_query looks like it would be the best method.
Hooking into save posts seems like overkill, having the shortcode get its id
when it runs ane saves it to a setting isn't a bad idea but won't work until
someone accesses the page to execute the shortcode.
Thanks all for your input.
More information about the wp-hackers