WordPress – Adding Bootstrap to wp_list_categories()

Add the following code to your theme’s functions.php file:

Use the categories list function like this: