Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
4
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
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