Anthony Tiefenbach @ get_permalink_by_name()

Anthony Tiefenbach

I’m using this function on a page to go link back to another page, by name, within the loop, with no problems. However, on a post, within the loop, I’m not getting a permalink, it returns the current posts permalink.

Is there something I’m missing? I’m using WordPress 2.9.2.