The widget show categories which contains only categories that have published posts