Popular Questions Standard Section

This is the list of the most viewed questions

5217a53eb06396a4f9289ae6941cef62

Written By Guilherme de Andrade Arantes (Administrator)

Updated at October 21st, 2017

The Popular Questions Section is a list of the most viewed questions on the Knowledge Base. These articles are very important, mainly because of its useful measure indicative: the views quantity.

This is how you can display a list of the 10 most viewed articles:

{% if top_questions.size > 0 %}
<h2>Popular Articles</h2>
<ul id="recently_updated">
  {% for question in top_questions | limit: 10 %}
    <li class="article_item">
      <a href="{{ question.url }}">{{ question.name }}</a>
    </li>
  {% endfor %}
</ul>
{% endif %}


Was this article helpful?