최근 검색


최근 검색 없음

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

답변함


2021년 10월 27일에 게시됨

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개

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물