Sub pages are not ordered by Menu_Order
-
Just found that Choco Theme 0.10’s sub pages are not ordered by Menu Order, but use Alphabet Order instead.
The problem is in the functions.php file – line 112.
The error:
$subpages = get_pages('child_of=' . $page->ID . '&parent=' . $page->ID . '&sort_columnm=enu_order');
The correct one:
$subpages = get_pages('child_of=' . $page->ID . '&parent=' . $page->ID . '&sort_column=menu_order');
- The topic ‘Sub pages are not ordered by Menu_Order’ is closed to new replies.