that code is broken, however i’m pretty sure that would only work inside the loop to list the categories of a particular post.
what I’d like is to list all categories outside the loop to serve as a sort of navigation.
i guess i should try something similar, just replace get_the_category() with what i already had. im just not sure if a foreach would work in the same way though… can’t hurt to try