Dynamic Tag: count relation items by taxonomy term

  • Solved
  • Posted 3 weeks ago

Hi,

I’m trying to show a count of related posts that have a specific taxonomy term.

Setup:

I have a relation field job-apply to related posts.

Those related posts have a taxonomy called Bewerbungsstatus.

One of the terms is in Überprüfung.

I tried something like this as a Dynamic Tag:

@post(job-apply.Bewerbungsstatus.label).is_equal_to(in Überprüfung).then().else().count()

But this doesn’t work.

Is there a way to count only the related posts where the taxonomy Bewerbungsstatus has the term in Überprüfung, using Dynamic Tags + Mods? Or is this not possible at the moment?

Thanks!