How to still get the menu displayed in child pages
-
Hello,
I am using two menues: one in the header of the each pages to display the first level menu (without children pages). The second menu gets only displayed on the left sidebar if there are children in a page (a page in a page). For this second level menu I use the following code in sidebar.php:
global $post;
$page_id = $post->ID;
wp_list_pages(“child_of=$page_id&title_li=”);Now my problem is that when I click on a second level page (the page in a page) the menu on the left side disappears but I would like to keep it, how can I do that ?
Many thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to still get the menu displayed in child pages’ is closed to new replies.