The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Hide reply button b...
 
Share:
Notifications
Clear all

[Solved] Hide reply button but have a nested layout

3 Posts
2 Users
1 Reactions
2,191 Views
Posts: 7
Topic starter
(@laucha92)
Active Member
Joined: 4 years ago

Hi,

I'm trying to hide the reply button in every comments because I do not want a discussion section. My website is open to comments that our agents will answer, so I don't want the reply button to show in the comments (at least for guests). In other words, guests should be able to leave a comment but not to reply the existing comments.

The only way that I found to do this is to disable the "Enable threaded (nested) comments" option but when I do this, all the comments are at the same level so it is difficult to understand which comments are questions and which ones are the answers to each question.

How can I solve this?

Thanks!

Gabriel

Topic Tags
2 Replies
Asti
Posts: 7573
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi @laucha92,

You can hide the reply button for guests via the CSS code provided below:

body:not(.logged-in) .wpd-reply-button {
display:none !important;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Posts: 7
Topic starter
(@laucha92)
Active Member
Joined: 4 years ago

Thanks!

Share: