If you want to remove the column by overriding a template, this is a good starting point:
It explains how to override templates to remove a column.
Direct solution
-
In your admin pane, go to Customize → Theme → your theme → Edit CSS/HTML
-
In the Head tab, paste this code:
<script type="text/x-handlebars" data-template-name="list/topic-list-item.hbr"> </script>
-
Between the
<script>
tags, paste the content of the original template:
https://raw.githubusercontent.com/discourse/discourse/main/app/assets/javascripts/discourse/app/templates/list/topic-list-item.hbr -
Remove this part:
<td class="num views {{topic.viewsHeat}} topic-list-data"> {{raw-plugin-outlet name="topic-list-before-view-count"}} {{number topic.views numberKey="views_long"}} </td>
-
Go to the CSS tab and insert this code:
.topic-list-header th.views { display: none; }
-
Don’t forget to save your changes.
Result:
CSS only solution (much shorter):
.topic-list {
.views {
display: none;
}
}
I add that overriding a template requires more “monitoring” because Discourse templates code can change from one version to another and it will be necessary to change your override accordingly.
A CSS solution is more flexible.