Support » Themes and Templates » sub-page listes as parant page under nav in Modularity Lite 1.2

  • Resolved hiromisf

    (@hiromisf)


    i am using Modularity Lite 1.2.
    i created pages and 1 sub-page.
    http://www.candmphotography.com/test

    if you click on “menu”, parent pages are listed.
    now the bottom one “pet photography rates” is actually a sub-page, its parent page is “pricing”, so i would not think sub-page should show up there and i do not want sub-pages to be listed there.

    any idea how i can fix this problem?

Viewing 1 replies (of 1 total)
  • i figured it out…

    changed
    <?php wp_list_pages(‘orderby=name&depth=-1&title_li=’); ?>

    to
    <?php wp_list_pages(‘orderby=name&depth=1&title_li=’); ?>

    for menu, which got rid of sub page from the drop down list.

Viewing 1 replies (of 1 total)
  • The topic ‘sub-page listes as parant page under nav in Modularity Lite 1.2’ is closed to new replies.