[wp-hackers] Get URL of page with shortcode

Mike Schinkel mikeschinkel at newclarity.net
Wed Feb 2 07:02:19 UTC 2011

On Feb 2, 2011, at 1:59 AM, Ryan Bilesky wrote:
> That would just link me to the current page, I need to get the link to the
> page with a specific shortcode.  I was just wondering if there is a more
> correct method than using wpdb to query for the id where content =
> myshortcode.

You could hook 'save_post' to write a value to a custom field, but I'm sure you were looking for more than that, right?


More information about the wp-hackers mailing list