• Problem (wswwpx_fold_page_list) depth option doesn’t seem to work right anymore…

    After a recent upgrade to 2.8.4 I noticed that the “depth” option for my nav only seems to go to the depth of 2, and doesn’t work when it tries to goes to the 3rd depth. It worked before, but just recently stopped. Here is my code and the page that I use it on.

    The Code
    <?php
    $thispage = $wp_query->post;
    if($thispage->post_parent!=0) //if not top level
    {
    wswwpx_fold_page_list(“depth=3&title_li=&sort_column=menu_order&exclude=134,155,&child_of=”.$thispage->post_parent);
    }
    else //if top level
    {
    wswwpx_fold_page_list(“depth=3&title_li=&sort_column=menu_order&exclude=134,155,&child_of=”.$thispage->ID);
    }
    ?>

    1st Depth:
    https://thriveafrica.org/getinvolved/

    Broken 3rd Depth:
    https://thriveafrica.org/getinvolved/yearinternship/hands-on-missions/

    Thanks

  • The topic ‘Fold List Page depth not working’ is closed to new replies.