Get most recent posts by category that aren’t first overall [duplicate]
Well, you’re going to have a lot of loops and a lot of custom WP_Query objects. To start, create an $all_posts variable before you start the main loop on your home page. You should likely put all this in your front-page.php template. <?php $all_posts = array(); while(have_posts()): the_post(); $all_posts[] = $post->ID; // do stuff with … Read more