Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee the code. Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS. Please post any issues you have in the comments section or try searching for a solution online.
Question
Can I execute code in Help Center based on article labels?
Answer
Yes, you can using Curlybars (see Help Center templating language). Below is an example of the syntax that executes code based on Help Center article labels:
{{#each article.labels}} {{#is identifier 'article-label'}} {{/is}} {{more code}} {{/each}}
0 Comments
Please sign in to leave a comment.