list child pages stopped working (1 post)

  1. csleh
    Posted 8 years ago #

    At final testing before launch, I saw the sub-pages links. Now the site is live, and the links aren't there! Only the

      tags, nothing is generated in between. I'm using the code to list subpages if there are any, and on all subpages. Here is the code:
        if($post->post_parent) { // page is a child
        wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->post_parent);
        elseif(wp_list_pages("child_of=".$post->ID."&echo=0")) { // page has children
        wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->ID);

      The site is http://www.rogiercommunications.com

      any help greatly appreciated

    Topic Closed

    This topic has been closed to new replies.

    About this Topic