How can I get on the same row two post of different categories?
Assuming you’ve already got your HTML/CSS whipped up, you will need two separate custom queries. Here’s one, a here is documentation. // Custom Query parameters. This one grabs most recent 5 posts from category with ID 9 // For each loop, change “$the_query” variable to something unique $the_query = new WP_Query( ‘cat=9&posts_per_page=5’ ); // Begin … Read more