have_posts()
is just a function that returns boolean value. You can use WP_QUERY instead and use order argument for ordering the posts.
have_posts()
is just a function that returns boolean value. You can use WP_QUERY instead and use order argument for ordering the posts.