Support » Fixing WordPress » Sub-menu disappears when changing post page

  • Hi.

    If I choose to show my posts on a different page than First Page my submenu disappears. Why?

    If I use the standard settings, that the posts are shown on the first page – it’s there.

    This is my configuration that makes the submenu disappear:

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • What submenu? Where? What’s your code look like on this page and on the index page (the default)?

    Well, the Blogg page is just a WordPress Page, so I guess it’s using the Page template. That’s why I think it’s weird that it doesn’t show my submenu.

    The code I use looks like this:
    <div id="submenu">
    $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else
    $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
    if ($children) { ?>

      <?php echo $children; ?>

    <?php } ?>

    I tried to put this code on the index page as well, but it didn’t work. I’m sorry if I was unclear. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sub-menu disappears when changing post page’ is closed to new replies.