6 reputation
4
bio website voindo.eu
location Portugal
age 32
visits member for 2 years, 9 months
seen Jul 14 at 12:01

I'm a computer and programming enthusiast working as a freelancer web developer.


Mar
17
awarded  Popular Question
May
8
awarded  Student
Jun
12
awarded  Autobiographer
Mar
29
comment Get parent page/menu id of current post
Yes i've set it as the post page indeed. Should that page not be parent of any posts assigned to it ? What do you mean, use the ID of the global $post variable ? I tried it, and parent is empty.
Mar
29
awarded  Editor
Mar
29
revised Get parent page/menu id of current post
added 179 characters in body
Mar
29
comment Get parent page/menu id of current post
Even with that. $post->parent comes empty. I managed to manually get it with get_option('page_for_posts'); but that's not elegant at all
Mar
29
asked Get parent page/menu id of current post