Is it possible to show only one category instead of sections?

1 Comments

  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hi Edwin, it's simply possible. Please see the screenshot what I did - 

     

     

     

    1). I removed the condition - {{#if ../has_multiple_categories}} just below the {{#each categories}}

    2). I added the code - {{#each categories}} just above the {{#each sections}}

    3). Before - 

     

    Two Sections of General category - 

    4). After - 

     

    The category General - 

     

    Note: When you update  {{#if ../has_multiple_categories}} to {{#each categories}} then do not forget to update it's closing tag {{/if}} to {{/each}}.

    Thanks

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk