I’m attempting to style some category links with images in the css. I want to assign the category with a class of its own ID. I’ve found it done elsewhere but it was hardcoded and not ideal. I’ve tried tons of little hacks and stuff and it seems to be beyond my coding abilities. Any help would be greatly appreciated. Thanks!
Here is what I currently have running in my loop.
<?php printf( __( '<div id="cat_wrap"> %1$s %2$s', 'twentyten' ), get_the_category_list( ', ' ), '</div>' ); ?>