Parent for a single (single.php)


Is it posible to get the parent ID of an single page…. I mean not a Page I mean an is_single()… page.

I have a page witch contains some custom posts and when I click on one of these i came to the single page of these entree. I would like to get the permalink of the parent page, the page i come from.

, user1606423 3 years 2020-05-30T08:10:43-05:00 0 Answers 87 views 0

Leave an answer