0

Similar to my Search Widget question

Is there a way to customise the Categories Widget? Again trying to add in extra markup.

Thanks

1

You can use any of the parameters from wp_list_categories and the widget_categories_args filter

You can style the output with these CSS selectors:

 li.categories { ... }  
 li.cat-item { ... }
 li.cat-item-7 { ... }  
 li.current-cat { ... }
 li.current-cat-parent { ... }
 ul.children { ... }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.