We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Taxonomy Conditions

Demien Sokman December 15, 2020 by Demien Sokman

I want to fetch a certain taxonomy and my condition is not working, as described in the documentation. In the documentation is says the following: taxonomy:{taxonomy_name}="{term}" https://statamic.dev/conditions#taxonomy-conditions

{{ taxonomy:publication_type="audit-reports" }}
        <h2>{{ title }}</h2>
        {{ if content }}
            {{ content }}
        {{ /if }}
{{ /taxonomy:publication_type }}

I dont receive an error. The tag is just not being parsed and it is printed like this.

{{ taxonomy:publication_type="audit-reports" }} {{ /taxonomy:publication_type }}

What am I doing wrong? How can I filter for a specific term?

Answered by Demien Sokman!
>>>>>>> Answered <<<<<<<
2 Replies