Recent searches


No recent searches

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

Answered


Posted Oct 27, 2021

Hello,

I noticed that if we only show one category on the home page then it only shows the sections. Is it possible to show one category on the home page for guide?

The screenshot below is what admins see. "centene concierge" is hidden from public view.

The screenshot below is what the public sees. Notice how theres no more "General Assistance" category showing, but instead it is showing all the sections within general assistance. Is it possible to show only General Assistance on the home page like the screenshot above?


0

1

1 comment

image avatar

Ifra Saqlain

Zendesk LuminaryMost Engaged Community Member - 2022Most Engaged Community Member of The Year - 2021Community Moderator

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

 

 

1


Please sign in to leave a comment.

Didn't find what you're looking for?

New post