Popular Questions Standard Section

This is the list of the most viewed questions


Written by Guilherme de Andrade Arantes

Last published at: November 22nd, 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>
  {% endfor %}
{% endif %}