Display category name only once in a loop

Hi :smiley:

I would like to display the category name of some posts in a loop.

The problem is that when I add in the loop it comes on every column.

How can I fix that?