List posts, but only one will have an image

0

I would like to create a list of posts, but I want only the last inserted post to pull the highlighted image. I use WP_Query to pull the posts, how can I do it?

It does not have the same formatting as print, I just want to know how to create the loop.

Example of how you would like it to be:


    
asked by anonymous 23.05.2018 / 18:52

0 answers