@dwilson sure:
1. Install the plugin
2. Go to the functions.php on your theme and add
function my_wpdiscuz_shortcode() {
$html = "";
if (file_exists(ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php")) {
ob_start();
include_once ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php";
$html = ob_get_clean();
}
return $html;
}
add_shortcode("wpdiscuz_comments", "my_wpdiscuz_shortcode");
add_action('init', 'comment_support_for_my_custom_post_type');
function comment_support_for_my_custom_post_type(){
add_post_type_support('lesson', 'comments');
}
add_filter('comments_open', function ($open, $post_id) {
if (get_post_type($post_id) === 'lesson') {
$open = true;
}
return $open;
}, 999, 2);
3. Create a child theme of tutor inside your theme
4. To add comments on the preview of lessons on your child theme go to /tutor/single-preview-lesson.php and to add only in private lessons go to /tutor/single/lesson/content.php
and after <?php tutor_next_previous_pagination(); ?> add:
<?php echo do_shortcode('[wpdiscuz_comments]'); ?>
That's it.
Hope it works.