Hi,
I have an issue with
one of my courses. It is only one course that are not showing the review section under the curriculum.
Link to the course:
https://www.nettbasertekurs.no/nettkurs/excel-for-nybegynnere/
All other courses have reviews showing like this:
http://prnt.sc/dtzg4x
The "approve discussion" is unhooked, but when i hook it it goes back to being unhooked when i update the course. See picture:
http://prnt.sc/dtzegc
See admin credentials under.
Thank you for your help!
This reply has been marked as private.
Please try adding the given code in your wplms-customizer.php file in wplms customizer plugin :
add_filter( 'comments_open', 'my_comments_open', 10, 2 );
function my_comments_open( $open, $post_id ) {
$post = get_post( $post_id );
global $post;
if($post_id == 2990 && get_post_type($post_id)=='course')
$open = true;
return $open;
}
NOTE : take backup before trying this code .
Hi Alex,
I tried this, but it did not work.
Well wplms does not modify anything with the comments settings in the back end edit page .
your comments status is still not saving at all for that particular course .
refer :
http://prntscr.com/dvityj
It seems there is third party plugin in modifying this behavior . So can you please try deactivating the third party plugins in your site one by one and again check the issue ?
Ok, thank you. I figured it out :)
You can mark this as solved.