@apljdi
Thanks for that, I forgot you could have your own WP_Query class, and that the class is not the same as query_posts.
Replacing query_posts with the new class solved my issues – wp_list_pages works like I need it to.
Thanks!
Yeah, I’d have no problem using wp_list_pages, as that does not mess with any css classes, but as far as I know, I can’t use wp_list_pages to get a post’s thumbnail, excerpt, title and permalink, since it does not return a post ID (hell, I think it only works for pages!)
wp_get_archives is the same deal, since I cant iterate through the results with a while or foreach loop, and use an ID to get what I need using the get_post_* functions.
It seems kind of odd that WP would make the broad assumption that query_post means main page loop.