Hi!
Following https://wplms.io/support/forums/topic/hide-number-of-students-within-a-batch/
The students number are still appearing in other page (Please refer the image in the following link)
https://www.dropbox.com/s/iqxdkuwf6lrsskq/batch-student-number.png?dl=0
Thanks,
Ana
This reply has been marked as private.
Hi,
Try adding the bellow css in your appearance->customize->custom css:
.snapshot .batch_user_count {display:none;}
Hi!
It works!
But the student number is still on another screen. Please check the image in the following link.
https://www.dropbox.com/s/nrr1aful816ls93/batch-student-number-2.png?dl=0
Thanks!
Ana
This reply has been marked as private.
This reply has been marked as private.
Try adding the bellow css in your appearance->customize->custom css:
.my-groups #buddypress ul#groups-list li .meta {display:none;}
-----------
You can remove the members tab for students, add the bellow code in your wplms-customizer.php file present in your wplms customizer plugin:
add_action( 'bp_setup_nav', function(){
if( function_exists('bp_core_remove_subnav_item') && function_exists('bp_get_current_group_slug') && function_exists('bp_group_admin_ids') ){
$user_id = get_current_user_id();
$admins = bp_group_admin_ids();
if(is_numeric($admins)){
$admins = array($admins);
}else{
$admins = explode(',',$admins);
}
if(in_array($user_id,$admins) || current_user_can('manage_options') ){
return;
}
bp_core_remove_subnav_item( bp_get_current_group_slug(), 'members' );
}
}, 15 );