Hello! Where and how does WP make an array of all posts (where is the query to the database)? There is such a code to display all posts:
<?php while (have_posts()) : the_post(); ?> <?php appthemes_before_post(); ?> <?php get_template_part('content', APP_POST_TYPE); ?> <?php appthemes_after_post(); ?> <?php endwhile; ?> <?php appthemes_after_endwhile(); ?> <?php else: ?> <?php appthemes_loop_else(); ?> <?php endif; ?> I need to redo the request to the database to change the order of output posts