Added IF statement to remove Work category title if no posts exist of that category.