Error sorting pages by creation
-
Just want to have the pages to show the last page created to be ON TOP.
I changed
<?php wp_list_pages(‘sort_column=menu_order&title_li=<h4>’ . __(‘Pages’) . ‘</h4>’ ); ?>to this
<?php wp_list_pages(‘sort_column=time_created&title_li=<h4>’ . __(‘Pages’) . ‘</h4>’ ); ?>and after doing so I get this error –
WordPress database error: [Unknown column ‘time_created’ in ‘order clause’]
SELECT * FROM wp_posts WHERE post_status = ‘static’ ORDER BY time_created ASCPlease help!
Thanks.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Error sorting pages by creation’ is closed to new replies.