How to add tabs to your Help Center home page

5 Comentários

  • Samantha Lester

    Thanks for the tip! I tried it on my sandbox and my sections aren't appearing. I'm on the Swiftest Elk theme. 


    Document head:

    Home page:

    Any idea what I did wrong? They don't appear at all when I save.

  • Jessie Schutz
    Zendesk Customer Care

    Thanks for sharing this, Tal!

  • Christopher Stock
    Community Moderator
    Zendesk Luminary

    Hi Samantha,

    If I've understood the code correctly, it'll only work in it's current form for categories called 'Product Updates'.

    Try making the changes below.

    In the Document Head:

      $(function() {
        $( "#agents_only_tabs" ).tabs();

    In the Home Section:

    {{#each categories}}
      {{#is name "Agents only"}}
        <div id="agents_only_tabs">
            {{#each sections}}
              <li><a href="#{{id}}">{{name}}</a></li>
          {{#each sections}}
            <div id="{{id}}">
                {{#each articles}}
                  <a href="{{url}}"><li>{{title}}</li></a>

    This should apply Tal's tabs to your Agents Only category.


  • lazar.albert.marius

    Hi, how should the tabs for categories be looking like on the home page? Thanks in advance for help.

  • Nicole Saunders
    Zendesk Community Manager

    Hey Lazar - 

    I believe it should look like the screenshot on the top right in the original post. 

    Also, I see that this is your first post - Welcome to the Zendesk Community! I encourage you to head over to the Welcome Thread in The Lounge to introduce yourself.

    We look forward to seeing you around the Community. Happy Zendesking!


Por favor, entrar para comentar.

Powered by Zendesk