I have a few default widgets which I am using in a custom sidebar and I'd like to edit its output in my functions.php file.
Currently the categories widget and blogrolls are generating an unordered list of links as such:
<ul>
<li class="cat-item cat-item-1">
<a href="http://localhost:8888/?cat=1">Uncategorized</a>
</li>
</ul>
I would like to somehow pass a class name into the unordered list itself to something along the lines of:
<ul class="test">...</ul>
I am just learning about using filters within the functions.php file and figured this was how I need to go about it but don't really know how.. Is this possible? How could I find out how to do something like this?
-- Bruno
wp_dropdown_categories
or something else? or it is the default category widget?