Instructor Dashboard

Home Forums Legacy Support Support queries Setup issues Instructor Dashboard

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #354902
    beastizo
    Spectator
    Hello! We need to remove everything that we marked in red in the instructor profile. Could you help us? ... I think it has to be css ... Thank you very much in advance
    #354903
    beastizo
    Spectator
    This reply has been marked as private.
    #354921
    Ada
    Participant
    Hi, Just for your information,you can manage few instrcutor course related settings from wplms>>course manager also https://prntscr.com/1270qj7 https://prntscr.com/1270tf8
    #355332
    beastizo
    Spectator
    This reply has been marked as private.
    #355359
    Ada
    Participant
    Hi, To remove the create course button you will need to remove the instructor's edit post capability so you will need to use any plugin to edit user role capability then remove edit posts capability for instructor . Then this administrador tab will also get removed. and for other tabs I'll provide you custom code or custom css code.
    #355528
    Ada
    Participant
    After you are done with the above steps of removing edit post capability of instructor then you can add this code in wplms-customize.php to hide marked tabs Goto plugin editor>> wplms-customizer>>wplms-customizer.php
    
     add_action('wp_head', 'hide_instructor_menu_tabs');
    
      function hide_instructor_menu_tabs() {
      	$user = wp_get_current_user();
        if ( !current_user_can('manage_options')) {
        
      	?>
      	<style>
      	#vibebp_member #course_component .course_manage .instructor_tabs span:first-child{
        display:none !important;
        }
      #vibebp_member #course_component .course_manage .instructor_tabs span:nth-child(5){
           display:none !important;
      }
    
      #vibebp_member #course_component .course_manage .instructor_tabs span:nth-child(7){
           display:none !important;
      }
      #vibebp_member #course_component .mycourses .course_manage .instructor_tabs span:first-child{
          display:block !important;
      }
       #vibebp_member #course_component .mycourses .course_manage .instructor_tabs span:nth-child(5){
          display:block !important;
      }
      
    </style>
    <?php 
      }
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Instructor Dashboard’ is closed to new replies.