Home Wordpress Function to get the categories of custom taxonomy