• I have several subpages, but users cannot access them from my site. I am using Ships Ahoy as my theme, and this is the code used in the header.php file:

    <?php wp_list_pages('title_li=&depth=0'); ?>

    I thought the depth=0 indicated no limit to the depths of subpages that would be shown.

Viewing 3 replies - 1 through 3 (of 3 total)
  • depth=0 does indicate no limit, but it puts the subpages into nested lists which your theme probably doesn’t account for.

    If you change it to depth=-1, you should see a single, un-nested list.

    Thread Starter CountryThinker

    (@countrythinker)

    It does, but it puts subpages into the header with page, which defeats the purpose of a hierarchy.

    At least you now know it’s just your theme. I’d suggest looking at the TwentyTen theme to see how it handles menu dropdowns.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Subpages not showing’ is closed to new replies.