Hi Everyone –
I am using a list of categories as my site navigation. I’ve managed to get it working but now need to individually style each category.
Is there any way to either (a) add the category slug as the id, or (b) add a custom class to each list item?
In addition, for each post (which will have only one Category), I want to add a class / id to the list item. Just in case in the future a post needs to be in more than one category. Is this possible?
- The topic ‘Add Categories ID and/or Class to wp_list_categories’ is closed to new replies.