I’m working on a blog like website. The posts are divided in different categories. I made sure the category names appear in a dropdown menu in the navigation. Is there a way to make sure the dropdown menu only contain categories that contain posts? Now it also displays a category that has no posts attached, so after clicking a user lands on a page with no posts.
Thanks in advance!