thanks!
Ron
< ?php list_cats(FALSE, ”, ‘name’,’asc’, ”, TRUE, FALSE,TRUE, FALSE, FALSE,TRUE, FALSE, ”, FALSE,”, ”, ‘1,2,4’,TRUE); ?>
This works of course but the output is displayed in a strange way (even with the default and classic themes)
Output roughly looks like:
* Parent (2)
— Child 1 (2)
——child of child 1 (2)
— Child 2 (0)
—— child of child 2 (0)
I cannot explain the appeareance of the blank lines and after looking into the html that was generated I noticed that it looked like:
I cannot explain the appearance of an “end paragraph” which was not opened. This code does not validate on W3C.
Any help would be appreciated.
P.S. I tried to include the HTML but that did not works as it was executed instead of displayed as text
]]>i have category count switched on in list_cat
in my sidebar. i preproduce some posts in category “web” with timestamps in the future (so they aren’t yet displayed). They still are counted in the category count…. any way to fix this without switching the counts off?
for instance: i have 1 visible post in category “web” and 4 posts preproduced. the category count shows (5) but when i click on the category i only get the 1 post.
Greetings,
Sam
and the categories looked like this:
Books
(6)
Comics
(3)
General
(64) and so on..
I also tried changing the display: block; to fixed in the CSS style but it messed everything up, please can anyone help me in this problem? here is the template for my sidebar:
#left { float: left; width: 210px; padding: 20px 10px 20px 10px; border-right: 1px solid #ffe2f1; }
#left ul { margin-left: 0px; padding-left: 0px; font-weight: bold; }
#left ul li { margin-left: 0px; padding-left: 0px; margin-bottom: 20px; list-style-type: none; }
#left ul ul { border-top: 1px solid #ffe2f1; font-weight: normal; padding: 0px; margin: 0px; }
#left ul ul li { border: none; padding: 0px; margin: 0px; font-weight: normal; list-style-type: none; display: block; }
#left ul ul li a:link, #left ul ul li a:visited { display: block; padding: 2px 0px 2px 10px; margin: 0px; background-color: #ffb9df; color: #a2326f; border-bottom: 1px solid #ffe2f1; border-left: 1px solid #ffe2f1; border-right: 1px solid #ffe2f1; text-decoration: none; }
#left ul ul li a:hover { background-color: #ffe2f1; color: #be6897; border-bottom: 1px solid #ffb9df; border-left: 1px solid #ffb9df; border-right: 1px solid #ffb9df; border-top: #ffb9df; font-weight: bold; }
]]>