I can find a page parent name by doing this:
$toto = get_the_title($post->post_parent);
if(get_the_title($post->post_parent) != the_title(‘ ‘ , ‘ ‘,false))
HOW can i find the ID of this page since i am on the children page when doing my query?
- The topic ‘How to get Page Parent ID’ is closed to new replies.