This works fine and all is good, but now I would like to also show the number of posts that have this tags.
So instead of just a list of all tags, I would like to have it like dogs (3), cats (4) or something that shows, that there are 3 pages using the tag dog, or 4 using cats etc
Is this possible?
Or do I have to do it using the api and generate the json for it “by hand”?
The checkbox-text is the one of the current page, not the one of the tag
I also tried using {{ tags.title }} or {{ tag.title }}, but then there is no text shown
ah… {{ arrayItem.value.title }} works
but now the question of how to count them? {{ arrayItem.count }} is empty and {{ arrayItem.value.count }} is the same as title
I am guessing, that the array of pluck is unique…?
I tried to use the following code in a template but instead of counting how many articles are using a specific tag it is only displaying a “1” for every tag. How can I change that to show how often a tag has been used?