The code I used was this to perform the integration wit LearnPress.
//add wpdiscuz to learnpress
function wpdiscuz_options($options) {
if ( LP_Global::is_course_item_type('lp_lesson') ) {
$lesson = LP_Global::course_item();
$options['wc_post_id'] = $lesson->get_id();
return $options;
}
return $options;
}
add_filter('wpdiscuz_js_options', 'wpdiscuz_options', 10, 1);
The problems I am having are:
- Comments with AJAX up to a certain limit work, but after 50 or more they load disorderly (without reloading the page).
- many of the options don't work like changing Custom Ajax functions
- The pagination does not work, only "Load more comments".
Hi @derzzale,
- Comments with AJAX up to a certain limit work, but after 50 or more they load disorderly (without reloading the page).
- many of the options don't work like changing Custom Ajax functions
Please leave some example URL to allow us to check the issues.
- The pagination does not work, only "Load more comments".
Please record some video of the issue.
I am having the same issue as everybody else is. The comments won't post on my lessons pages in learnpress it displays in the lessons page, but when I post a comment, it goes to the course page. Has anyone found a work around to this issue? I have googled, tried the missing comments solutions 1-6 and everything else. I see a code at the top of this post. is this the solution? and if so, where do you place this code?