Notifications
Clear all

wpForo 1.x.x [Solved] How to hide number of topics and posts

7 Posts
2 Users
1 Reactions
1,165 Views
Posts: 4
Topic starter
(@tonysaurez)
Active Member
Joined: 5 years ago

How can I stop my forum from showing the number of topics and posts made in the forum category header?

6 Replies
Sofy
Posts: 4585
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @tonysaurez,

You can hide those sections using CSS codes.  Here is an example of the CSS codes:

https://wpforo.com/community/how-to-and-troubleshooting-2/remove-post-view-count/#post-20398

You can find all classes by pressing F12 on the browser and opening Chrome or Firefox Console:

5 Replies
(@tonysaurez)
Joined: 5 years ago

Active Member
Posts: 4

@sofy

Thank you for the reply, but I am looking to remove topic and post count from the main forum, not when you select a category, see attachment.

Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4585

ok @tonysaurez

Please leave your forum URL to allow us to check it and provide CSS solution. wpForo has different layouts and each layout has its own classes.  So it'd be easy for us to provide CSS solution with URL. 

(@tonysaurez)
Joined: 5 years ago

Active Member
Posts: 4
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4585

Hi @tonysaurez,

Please add the following CSS code in "Custom CSS code" textarea located in Dashboard > Forums > Settings > Styles admin page, save it, delete all caches and press CTRL+F5 on forum frontend:

.cat-stat-posts, .cat-stat-topics, .wpforo-forum-stat-topics, .wpforo-forum-stat-posts { 
display: none;
}
(@tonysaurez)
Joined: 5 years ago

Active Member
Posts: 4

Yes it works, thank you so much.