When displaying the output from a taxonomy list (whether from a custom search or not), is there a way to insert a '0' into the output array if the given taxonomy category is empty? I want to be able to manipulate the array content.
Ideally, I would prefer if the output was displayed as unordered list. Is this even possible?
From what I know its not even possible to do this because you can either list out all the taxonomies or you can either list out all the posts and their taxonomies and finally you can list out all the Taxonomies and their posts under it.
The taxonomies that don't have any posts will not return anything.