-
Hi I would like to request for css code to hide some tabs
-
Under student dashboard refer to https://prnt.sc/vmluvh I want to hide My Quizzes, My Assignments and Notes & Reviews
-
When under student dashboard viewing individual course refer to https://prnt.sc/vmlvl8 I want to hide Annoucements & News, QnA, Notes
-
Under Settings refer to https://prnt.sc/vmlwwu I want to hide Profile Field Visibility tab
-
I have set in WPLMS to allow user to retake course when finish and also set mine free courses to 9999 days which is unlimited, currently when student finishes a course the button changes to “Completed” https://prnt.sc/vmlxpb where can I change this to “Continue Course” or “Retake Course” likewise the word “Completed” under student dashboard for enrolled courses here https://prnt.sc/vmlza3 should change to “Continue Course” or “Retake Course”
Hi please kindly provide codes with point 1 and point 2.
point 3 hide for all users.
point 4 .. I will use the translation plugin.
Point 1 & 2: Please ping here tomorrow
I need toc check if any hook available or I have to hide it using custom cssPoint 3: Use this custom css
.profile .profile_settings .setting_group {display: none !important;}Hi Diana,
Good afternoon.
Point 1. Not yet solve .. waiting for css codes from you
Point 2, Solved I used the css codes below:
.course_manage .course_tabs .instructor_tabs :nth-child(3){
display:none !important
}
.course_manage .course_tabs .instructor_tabs :nth-child(4){
display:none !important
}
.course_manage .course_tabs .instructor_tabs :nth-child(5){
display:none !important
}
.course_manage .course_tabs .instructor_tabs :nth-child(6){
display:none !important
}Point 3. The codes you provided not sufficient as it only hides the content but still show the empty box refer to screenshot https://prnt.sc/vr1ky2 I want a code that can remove the entire box including what is shown in this screenshot
Point 3: This CSS code will work for you
.vibebp_myprofile .profile_settings .portal:nth-child(2){
display:none !important;
}Refer: http://prntscr.com/vrevlw
Point 1: Need to check action hook, otherwise the only option is to use custom css code
Do confirm point 3 is working or not
Yes point 3 is working great! Thanks.
Any css code for point 1 will be good too
Please check this topic in an hour
Add this code in wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.php
add_action('wp_head','hide_tabs_student_profile'); function hide_tabs_student_profile(){ if(current_user_can('student'){ ?> <style> #course_component a.menu-child.quiz_results, .assignment_results, .notes_reviews{ display:none !important; } .course_manage .course_tabs .instructor_tabs span:nth-child(3), .course_manage .course_tabs .instructor_tabs span:nth-child(4), .course_manage .course_tabs .instructor_tabs span:nth-child(5){ display:none !important; } <?php } }
Both Point 1 & 2 Covered
-
This reply was modified 1 month, 3 weeks ago by
Diana.
-
The topic ‘Hide Tabs from Student Dashboard and Course’ is closed to new replies.