Automatic ul class post-categories generated
I’ve just found out that when I’m displaying the categories with
<?php the_category(); ?>
it creates an unordered list (ul) by default.
I’m okay with that, but ain’t the default value for ul’s
Cause I had some trouble managing to get the different categories on one line.
I now use the $separator-parameter to divide the categories with a comma and now it displays allright. (one line only).
but even when I’m giving the ul class=”post-categories” which is generated automatically the value
It doesn’t display on one line.
Can somebody tell me why I had problems with all this?
Thx & Cheers
- The topic ‘Automatic ul class post-categories generated’ is closed to new replies.