Support » Themes and Templates » wp_list_categories() — Adding an 'All Categories' entry?

  • I’m using wp_list_categories to populate a nav on a site buildout. Is there any way to use WP’s native functionality to also add an additional entry to the output — ‘All Categories’, for example — that shows total post counts and when clicked takes users to the main page, and is given it’s appropriate active class for styling.

    I know the alternative is to just build my own nav code that checks current page dynamically. Hopefully there’s a simpler option?

  • The topic ‘wp_list_categories() — Adding an 'All Categories' entry?’ is closed to new replies.