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.

  • Contact Us
  • Home

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.

  • Customization
    Customization Guides
  • Article Editor
  • Getting Started
    Managing Users Analytics Content Management Permissions & Accessibility Video Tutorials
  • Integrations
  • API & Webhooks
    API V2 API V3
  • Languages & Translations
  • Authentication
  • Swifty AI
  • Settings
    User Settings User Behavior Knowledge Base Settings Custom Domain
+ 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.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Displaying Categories as Carousel
  • Adding Custom CSS
  • Category Page
  • Using Custom Inputs On Your Contact Form
One Knowledge Base To Replace Them All
24/5 support
Constant Product Updates & Improvements
100% money back guarantee
99.9% Uptime
Features
  • AI Knowledge Base AI-Enabled
  • Helpjuice Extension AI-Enabled
  • Powered Editor AI-Enabled
  • Advanced Analytics AI-Enabled
  • Customizable Themes AI-Enabled
  • Swifty · Helpbar & Chatbot AI-Enabled
  • Multi-Language Support
  • Step-by-Step Tutorial Creator
  • Seamless Integrations
  • User Access Control
  • See All Features >>
Product
  • Product Roadmap
  • Pricing
  • Book a Demo
  • Policies & Security
  • Our Customers
  • About Helpjuice
  • Contact Our Team
Resources
  • Our Knowledge Base
  • Webinars
  • Success Stories
  • API Documentation
  • Data Import Guide
  • Helpjuice Blog
Copyright © 2025, Helpjuice Inc.
Helpjuice, Inc. is a registered US Corporation.
EIN 46-2257741 | Download W9
Made in America High Performer Ease of Use Get Support
Get Started For Free
4.8 average review on
Life’s too short to use mediocre software.
+1 (833) 387 3877
Powered by Helpjuice Helpjuice Swifty AI External Link
Expand