Quote:
Originally Posted by harvey
well, I don't have an example with categories and subcategories at hand (oh my, why in hell every single person asking for help NEVER includes the example so they can actually be helped?) but if you constructed it using defaults you should have something like
Code:
<ul>
<li>Cat 1</li>
<li>Cat2
<ul>
<li> Cat 2 Children category </li>
</ul>
</li>
</ul>
where
Code:
<li> Cat 2 Children category </li>
will have a class named .children or .child or something like that (don't remember right now, and since nobody post examples....  ). Just style that class and you'll be done
|
sorry i was tired when i made thread...the wp_list_categories prints your category list heres a snippet of code from the default wordpress theme sidebar:
Code:
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
that will print a list in alphabetical order with child categories, and post count. An example of what i currently have can be found in the default wp theme, an example of what i would like my list to look like can be found here:
http://www.hotmovies.com/categories.php
The parent cats are bold and using the <h3> tag, therefore helping to show the difference between parent and child cats. Is that possible in wordpress?