I have a Toolset custom post type with many categories, I want to create a snippet code to count the number of each category and put it to View, how can I do that?
Yes, I want to display all of the categories and show how man posts each category is assigned to, especially those categories belong to the custom post type.
For instance lets say, you have post namely "Test post" and you assigned terms movie, chess and music to it. Now, when you display "Test post" on frontend - you want to display terms movie, chess and music with count - is that correct? if yes:
Are you using blocks to build your content template or view?