I have a static front page, and I want to show the 6 most recent posts on that. I am familiar with PHP and I have prepared a hook in my functions.php which print out at the right place. I just need the query which display the posts. I want the HTML-structure to be the same as at the category pages due to my CSS styling. I have tried just to copy the while loop from archive.php but it didn’t work. What do I need to change?