I’m trying to get a link to Page A within a loop on Page B. Normally I would use ID); ?> but the loop is causing this to always return a path to the current page.

Read more here: How do I get a link to a WP page within a loop?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: