I have a problem...
Eg I have this 4 category: "car" - "bike" - "bicycle" - "skateboard"
insert 1 post in each category so my widget displays:
But when I delete a post (eg delete the post belonging to the "skateboard"), the term should disappear from the widget ... instead the term remains, and if I click leads to a 404 page.
how can I display only the categories where there are actually published posts?