Adding class=”parent” to parent pages automatically
-
I want to create a dropdown menu of child pages with an indicator to the right of each page that has one or more child pages.
I use wp_list_pages to output nested lists, is there a way to add class=”parent” to each list item that has child pages?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Adding class=”parent” to parent pages automatically’ is closed to new replies.