get_posts not using orderby=menu_order
Hi there, based on the get_posts documenation http://codex.wordpress.org/Template_Tags/get_posts I should be able to use any column in the wp_posts table to sort entries. However, when I use menu_order (which has values in the table) it is not changing the sort order.
Is this the correct usage?
$myposts = get_posts(‘post_type=page&post_parent=80&orderby=menu_order&numberposts=’);
- The topic ‘get_posts not using orderby=menu_order’ is closed to new replies.