The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Hide reply button b...
 
Notifications
Clear all

[Solved] Hide reply button but have a nested layout

3 Posts
2 Users
1 Reactions
6,444 Views
Posts: 7
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@laucha92)
Active Member
Joined: 6 years ago
[#570]

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


2 Replies
Asti
Posts: 8218
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@laucha92)
Active Member
Joined: 6 years ago

Thanks!