Home › Forums › Support › Link to the parent post in attachment page This topic has 3 replies, 2 voices, and was last updated 2 years, 11 months ago by Elvin. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts May 10, 2021 at 12:22 pm #1773224 Manish Hey I Want To Add a Link to the parent post on the attachment page Like https://prnt.sc/12rwn4o May 10, 2021 at 8:29 pm #1773467 ElvinStaff Customer Support Hi there, on your attachment page template, you’ll have to get the parent post’s id and use that to get the parent post permalink. See this example code – https://wordpress.stackexchange.com/a/312470 May 11, 2021 at 11:09 am #1774774 Manish Thanks May 11, 2021 at 7:53 pm #1775100 ElvinStaff Customer Support No problem. 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In