Working on this locally–it is a new version of out site. I will get it online this afternoon behind the scenes so you can take a peak. Thanks for taking the time to look at it–very generous of you. Will get you link shortly.
It is easy to do with get_categories() function and also possible by filtering wp_list_categories() html output through add_filter( 'wp_list_categories', 'custom_filter_function' ), but I can’t figure out now how to make it trough add_filter().
It is really easier with get_categories(). By default wp_list_categories() does not provide special classes for empty categories. JQuery can catch the link by (0) text, but, again, easier to use get_categories().
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘wp_list_categories – Show empty cats but as plain text.’ is closed to new replies.