hide students number in a batch (2)

Home Forums WPLMS AddOns WPLMS Batches hide students number in a batch (2)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #122914
    anarelvas
    Spectator
    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  
    #122915
    anarelvas
    Spectator
    This reply has been marked as private.
    #122982
    H.K. Latiyan
    Participant
    Hi, Try adding the bellow css in your appearance->customize->custom css: .snapshot .batch_user_count {display:none;}  
    #124214
    anarelvas
    Spectator
    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
    #124257
    H.K. Latiyan
    Participant
    This reply has been marked as private.
    #124330
    anarelvas
    Spectator
    This reply has been marked as private.
    #124396
    H.K. Latiyan
    Participant
    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 );
    #124440
    anarelvas
    Spectator
    Perfect! Thanks!
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘hide students number in a batch (2)’ is closed to new replies.