WordPress.org

Support

Support » How-To and Troubleshooting » wp_list_pages, Navigation is out of whack?

wp_list_pages, Navigation is out of whack?

  • I’m using 2.3.2 (which I just upgraded) If you visit this address: This Page this operates correctly. But it seems as if something has changed from 2.3.1 to .2 Now when ordering pages, if I don’t have the sub page the same number as the parent, it removes it as a sub page?

    So for example I have:
    Home – 0; About – 1; Joint Our Team – 2; Benefits – 2… if I make benefits say 1, it moves it out of a subpage and underneath About ? Before it seemed to restart the page ordering for subpages, now it seems as if it’s a global thing?

    Here is my code:
    wp_list_pages(‘sort_column=menu_order&child_of&title_li=&include=29,30,31,32,33,34,35,36,37’ );

    Any ideas?

Viewing 1 replies (of 1 total)
  • A BUG with page ordering? I tried this on another friend’s wordpress install…. was using 2.3.1, page ordering was fine… upgraded to 2.3.2… and it’s a bug.

    Try it… if the sub page DOES NOT have the same Page Order number as the parent… then wordpress treats the sub page like a parent page. Thus, it seems as if there is no way to order sub pages, because they all need the same order number to display as sub pages.

Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_pages, Navigation is out of whack?’ is closed to new replies.
Skip to toolbar