i would really like to see the ability to pass a postID paramater into the 'edit_post_link();' function, and to use it outside the loop.
basically it would allow for better CMS functionality.
thanks WordPress team!!
i would really like to see the ability to pass a postID paramater into the 'edit_post_link();' function, and to use it outside the loop.
basically it would allow for better CMS functionality.
thanks WordPress team!!
I agree, that would be useful.
I've just checked the core code and it would seem you can pass a post ID as a fourth parameter:
<?php edit_post_link('Edit', '<p>', '</p>', 139); ?>
I think the Codex needs updating...
This was added in version 2.8 by the looks of it:
You must log in to post.