Hi,
I have a query loop and I am trying to count the number of posts each term has. I created a shortcode that takes the term_id as an argument, as I thought I could pass the value by using a merge field in the shortcode field which I had added to the query loop. The issue is that the merge tag value doesn’t get passed to the shortcode function, instead it’s just the merge tag text itself that gets passed.
Is there a way to to do this? or is there another way to do this?
Thanks,
Ger