Support » Installing WordPress » unable to list sub pages

  • Resolved migael

    (@migael)


    wordpress version: 2.8.4.

    the version itself is working
    however with the skin : ACMS 1.5
    it’s not working

    see the link below… I’ve added a “pages” widget to show that I’ve placed the sub page on the correct way

    however right above it it’s simply not working…
    not to mention it shows subpages right at the top >.>

    http://alubouwnl.nl/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Edward Caissie

    (@cais)

    Theme Review Admin, The JellyBeen Man

    The menu in the left column is being controlled from the sidebar.php file by this line:

    <?php wp_list_pages('sort_column=menu_order&depth=-1&title_li='); ?>

    The display of sub-pages is being controlled essentially by the depth=-1 parameter.

    Here is a link to the codex for the function: http://codex.wordpress.org/Template_Tags/wp_list_pages

    You might try changing the line to:

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

    as a starting point …

    in the end I decited to take a different template ^^ so I seppose that fixes the problem too…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘unable to list sub pages’ is closed to new replies.