How To Display Selected Terms For Custom Taxonomy?
This might help you to find your solution. print the result of get_terms without arguments $chaptertitles=get_terms( ‘chapters’); print_r($chaptertitles); Check in above result can you get the item id 74 & 76. I think you might not get the the item id 74 & 76 that’s why you get the zero for $count1. Include the item … Read more