I'm very sorry if this is already on the forum, but my search was fruitless.
I am working on a site: http://backgammon.edieandbup.com/
What I want is for the left sidebar to show a menu of the child pages of the current TOP LEVEL menu. So when you click 'WHO ARE WE?' you get the two child pages listed on the left - all good.
What I want is when you click one of those pages, the menu on the side stays as it was. As it is, it lists children of the current page.
I know how to get the top-level ancestor:
PHP Code:
$parent = array_reverse(get_post_ancestors($post->ID));
$first_parent = get_page($parent[0]);
I have tried a number of plugins and got closest with Custom Menu Wizard, which lets you specify that you want children of the current page. However I want children of the top-level ancestor of the current page.
Is there a way to do this?
Thank you for your help.