US English (US)
BS Bosnian

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Book a Demo
  • Product Updates
  • Contact Us
English (US)
US English (US)
BS Bosnian
  • Home
  • Customization
  • Customization Guides
  • Advanced Customization

Displaying The Most Popular Questions

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Users Accessibility New to Helpjuice? Start Here Content Management Multiple Languages/Translations & Localization Multilingual Knowledge Bases Analytics Video Tutorials
  • Customization
    Customization Guides
  • API V2
  • API V3 and Webhooks
  • Article Editor
  • Billing / Subscription
  • Authentication
  • Pricing
  • Swifty AI Chatbot
  • Swifty AI Helpbar
  • What's New
+ More

Displaying the most popular questions on your homepage is a great way to make sure that your user find their question just a bit faster. This 'just a bit faster' might mean the difference from a user coming to your knowledge base to find an answer and not coming.

We have a predefined variable specially made for this feature. You can do this using the variable top_questions inside the for loop, that will display a specific number of top questions. Below is an example showing how to implement it:

{% for question in top_questions limit: 5 %}
<li>
 <h4><a href="{{ question.url }}">{{ question.name }}</a></h4>
 <span>{{ question.category.name }}</span>
</li>
{% endfor %}

As you can see, we used the top_questions variable with the for loop to repeat questions five times. We limited this for loop to five times using limit:(number).

If you want to see a list of all variables, please click on this link‍ where you can see all our variables which you can use for customization.

displaying popular questions

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Category Page
  • Displaying Categories as Carousel
  • Adding Custom CSS
  • Using Custom Inputs On Your Contact Form

Copyright © 2025 - Helpjuice

Helpjuice, Inc. is a registered US Corporation, EIN # 45-2275731

Download W9
  • Help
  • Features
  • Pricing
  • About
  • Careers
  • Customers
  • Blog
  • Case Studies
  • Resources
  • Knowledge Base Examples
  • Privacy Policy
  • Terms of Service

Why is the knowledge base important?

With a knowledge base, you can allow your customers to self-help themselves, thus reducing your customer support by up to 60%. Furthermore, you can also have your team get instant answers to the questions they need without having to email themselves all using knowledge base software.

What is the purpose of a knowledge base?

The purpose of knowledge base software is to allow you to host your knowledge base/corporate wiki in one centralized 'hub'. Both your customers, and employees can now access information within seconds!

Made with from Miami, Bosnia, Morocco & Brasil

+1 (833) 387 3877 support@helpjuice.com
Expand