• Hi-

    I am trying to get it so the wp_list_categories only shows the state.

    I want the code to look like this if I had three categories and the first was selected:

    <li class="current-cat">
    <li class="">
    <li class="">
Viewing 1 replies (of 1 total)
  • Not sure that the problem is. wp_list_categories adds .current-cat to the currently selected category.

Viewing 1 replies (of 1 total)

The topic ‘wp_list_categories – class’ is closed to new replies.