Hello
I am using the wp_list_categories tag in Wordpress. I would like to wrap this in a condition so it is only used when there are posts in the database. Something like:
if ($number_of_posts > "0") {
}
But I can't find a function that'll let me count the number of posts. Anyone know the solution?