Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
There is two comment forms in LearnDash. This snippet does not work anymore:
add_filter('learndash_focus_mode_can_view_comments','__return_false');
add_filter('learndash_focus_mode_comments','__return_true');
add_action('learndash-focus-content-end',function(){
if(is_user_logged_in()){
comments_template();
}
});
Any sugestions?Â
The PHP code from the snippet plugin can be removed. It doesn't work from the versions higher than 4.3.0.
You can just use the CSS code below:
.learndash-wrapper .ld-focus-comments .comment-respond #reply-title, #commentform { display:none; }
Put the code "Custom CSS Code" textarea, it's located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.
Thanks! This works 🙃Â