Multiple queries and pagination
I think I’ve understood your question, and I hope this can help. To display a hero section with the most recent posts without interfering with the main loop and pagination, you can use a combination of WP_Query for the hero section and pre_get_posts() to modify the main query. Here’s the code to achieve this: // … Read more