Notifications
Clear all

I need to suppress replies to posts

2 Posts
2 Users
0 Reactions
166 Views
Posts: 1
Topic starter
(@locutus)
New Member
Joined: 1 month 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: 5647
 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