Notifications
Clear all

wpForo 1.x.x [Solved] Hide Subforums

6 Posts
3 Users
2 Reactions
1,736 Views
Posts: 6
Topic starter
(@mike-jones)
Active Member
Joined: 5 years ago

I want to know how to hide/not show the subforums. I would just like to be able to click Toronto and then Ajax would be there. Is this possible?

Please see attached photo

 

Thanks

5 Replies
Sofy
Posts: 4772
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @mike-jones

If you use the wpForo Threaded Layout, navigate to Dashboard > Forums > Settings > Forums admin page, set "Collapsed" value for "Threaded Layout - Forums List" option.

More info here:

https://wpforo.com/docs/root/categories-and-forums/forum-layouts/threaded-layout/#view-on-forum-home-%E2%80%93-threaded-layout-category

1 Reply
(@mike-jones)
Joined: 5 years ago

Active Member
Posts: 6

Hello Sofy,

That doesn't work cause "Toronto" isn't a category. I have "Ontario" as a category which is parent for "Toronto". So when I add "Ajax" to "Toronto it shows as a subforum. I don't want subforums to show, is the only to do this is through coding?

VereK
Posts: 522
(@verek)
Honorable Member
Joined: 7 years ago

Use CSS to hide it on the main page.

Example - (your root div id might be different depending on which layout you are using)

#wpforo #wpforo-wrap .wpfl-2 .wpforo-subforum {
display: none !important}
2 Replies
(@mike-jones)
Joined: 5 years ago

Active Member
Posts: 6

Thanks VereK.

 

I don't know much about coding and where to even do it but I'll see if I can figure it out lol

(@mike-jones)
Joined: 5 years ago

Active Member
Posts: 6

Figured it out, you're a life saver...Thanks again VereK