hi all
i'm still new to WP and really neewbie in coding, despite that i started organize my first blogpage http://www.radrob.it/blog
my big request and need it's to "organize" the categories on my sidebar, my wish it's showin main categories and sub categories right down the main ones ..instead of mixed all toghether..
just like
>>architecture
>offices
>museum
>>design
>industrial
>product
any help appreciated
Try something like:
<?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=1'); ?>
it works..
just to refine it
-what i must add for see the resume of post per cat
like
>>architecture(28)
>offices(6)
and it's possible to get main cat in bold
and sub-cat in plain
or have some little typo that differentiate main from sub
..i'm feeling really dumb
but i started reading php last night
i thank you so much
all helps are really precious.
r.
well, to start with.. change "optioncount=0" to "optioncount=1" in what I posted earlier.
To get a better feel for what you can do with wp_list_cats, check out the codex: http://codex.wordpress.org/Template_Tags/wp_list_cats
For your formatting bits, you want to find some themes that do something like that and study their CSS... look at what classes they use and have a look at the .css file(s), for instance.
DICE!
that's what i needed!
great link
thx
r.