wp_list_categories problems with display in sidebar. need help
-
hello.
i am useing this code to display my categoy-links:
<?php wp_list_categories('orderby=name&show_count=1&title_li='); ?>
this code is perfect and displays the category-links fine but, as you might have noticed i enabled the show_count feature and that is exactly where my problem is.
the category-links are each in a little rectangular box that is coloured in some colour. all other entries like the blogroll and the meta-data links are done in the same way.
however the little count number has now changed the look and the navigation does no longer look any good. inbetween each category-link there is a line where there is the countnumber.
i would at least have liked to have this number next to the category-link and not underneath. to give you an optical idea of what i am talking about i will create somekind of drawing to show you …
code without numbers:
------------------- | categroy link 1 | ------------------- | category link 2 | ------------------- | category link 3 | -------------------
you will be able to tell that the lines indicate the surrounding box … anyway if i use the code to display the count-number it looks something like this:
------------------- | categroy link 1 | ------------------- (15) ------------------- | category link 2 | ------------------- (8) ------------------- | category link 3 | ------------------- (25)
as you can well imagine that looks damn awfull and i would much rather like to have the link and the number in one line together. the number (count) does not have to be part of the link but at least in the same line and that is my problem. i just can’t figure out how to do that.
if you have any ideas please to not hesitate to describe your thoughts or possible solutions here.
thank you kindly & best regards
- The topic ‘wp_list_categories problems with display in sidebar. need help’ is closed to new replies.