I need help with the following:
I have a taxonomy named location. I have a list of countries using that taxonomy.
I need to display the latest posts in a list with the flag and the post title.
I created a folder inside theme folder with all country flags. For instance Spain.png etc etc
How can I do a loop of posts and retrieve the location taxonomy associated to each post so I can put the url to flags folder + the taxonomy name + png?