Hello, can you please tell me if there is an option to show the replies only to logged in members? Basically, I want to hide the comment replies from guests, thank you.
Sep 12, 2024 9:14 am
6 Replies
Sep 12, 2024 9:28 am
Hi,
You can use the CSS code like this:
#wpdcom.wpdiscuz_unauth .wpd-reply {display:none;}
Insert the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.
Don't forget to delete the caches before checking.
Or js code:
jQuery(document).ready(function(){
jQuery('#wpdcom.wpdiscuz_unauth .wpd-reply').remove();
});
Here are the instructions on how to properly add JavaScript to WordPress: https://wordpress.com/go/website-building/how-to-properly-add-javascript-to-wordpress-3-top-methods/
Sep 12, 2024 9:59 am
Wow, thank you so much for your fast and solving response. I've added the CSS, it works, and it would be great if when the users click the "Show reply" instead of showing nothing, to show some text like "The replies can only be seen be members".
Thank you
Sep 12, 2024 3:54 pm
Or is it possible to show the reply only to the original poster, even if they're guests?

