Hello,
I want to remove the 'course review' functionality from my courses pages (removal on the top and bottom of the course page. Is there a way of doing this?
Thanks,
Hello,
always refer to these two settings for course reviews.
1.For disabling the course review, edit the course in backend and un-check the allow comments box. Refer:
http://prntscr.com/mujj1e
2.Edit course in the front end,
disable this setting under settings to refer:
http://prntscr.com/muynaz
if you want to hide this section please let me know:
http://prntscr.com/nz5fpf
This reply has been marked as private.
@melgend,
Please refer this tip:
https://wplms.io/support/knowledge-base/hiding-reviews-section-in-single-course-page/
Paste the code in wp-admin > Plugins > Editor > Select wplms customizer plugin > wplms-customizer.php > save changes
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
As it looks in the screenshot you gave me, there is a close bracket ' } ' missing, it could be the issue.
So please try to copy properly the right code again and save. Check again after that.
If it still gave you some error, please let us know.
Share your website URL and admin credentials in private reply so that we can check.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hi
Please add the below code in
Wp-admin > plugin > customiser.php > save
add_action('wp_head',function (){
global $post;
if($post->post_type == 'course'){
$rating=get_post_meta($post->ID,'average_rating',true);
if(empty($rating)){
?>
<style>
.single-course #item-meta strong{display:none;}
</style>
<?php
}
}
});
add_action('bp_directory_course_item',function(){
global $post;
$rating=get_post_meta($post->ID,'average_rating',true);
if(empty($rating)){
?>
<style>
.course_id_<?php echo $post->ID;?> .course-star-rating{display:none;}
</style>
<?php
}
});
This reply has been marked as private.