I wanted to output all my categories in the sidebar of my wordpress theme. Now I use the function
wp_list_categories(); which works fine. However it always displays the categories in a list and I don't want that.
What I want is to display the categories as links so that they are inline elements. I could stay with the list and just style them as inline elements by applying
display: inline-block; to the list items. I guess it is semantically correct, too.
So is there a way of getting rid of the list in WordPress or should I stay with my approach? And is it semantically correct?
Thanks for all your answers.