Support Center

How to remove the comment counter from the Galleries View

Last Updated: Aug 03, 2013 07:35PM EEST
In order to remove the comment counter from the Galleries View, please follow the instructions below:

1. Edit your "Galleries" view through Home » Administration » Structure » Views
2. Enable your active View tab: Page or Page (2 columns) or Page (3 columns)
3. Click the Content: Title field
4. Select/Expand the REWRITE RESULTS section and make the following change to your Text:

Change from
<div class="gallery-content">
<div class="gallery-body">[field_mt_gallery_description]</div>
<div class="gallery-links">[view_node] - [comment_count]</div>

<div class="gallery-content">
<div class="gallery-body">[field_mt_gallery_description]</div>
<div class="gallery-links">[view_node]</div>

5. Apply (all displays) these changes
6. Save all your view changes

In case this article leaves any of your questions or concerns unanswered, please feel welcome to email us or post a public question.

More than (just) Themes

Contact Us

[email protected]
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found