Notifications
Clear all

I need to suppress replies to posts

2 Posts
2 Users
0 Reactions
220 Views
Posts: 3
Topic starter
(@locutus)
Active Member
Joined: 3 months ago

I have a Forum set to Threaded layout. I need to post a topic for discussion (e.g. how long do you boil an egg) and gather responses by replies to this question. BUT, I want nesting only 1 reply deep i.e. NO replies/comments to the replies (2 mins, 3 mins) - just a question and a bunch of untested replies with no comments. 
I tried setting Threaded Layout - Replies Nesting Levels Deep = 0 as per screenshot and cleared every cache in site (wpForo and site - which I've actually uninstalled), hard-refresh on the site and ... I can still post replies to replies.... 

Am I missing something?


1 Reply
Sofy
Posts: 5736
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi,

In this case, you can hide the ‘Reply’ button for posts using CSS. Keep the Threaded Layout – Replies Nesting Levels Deep option set to 0, then use CSS to hide the Reply buttons for all posts except the first post. 

The CSS code you can use: 

#wpforo #wpforo-wrap .wpfl-4 .post-wrap .wpf-reply, .wpf-post-replies .wpf-reply{
   display:none;
}

Insert the CSS Code in the "Custom CSS Code" textarea in the wpForo > Settings > Colors & Styles admin page. 

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.


Reply