Hi,
I made some profile fields for Instructors and Students. 1. https://prnt.sc/te5zjn , and made registration forms accordingly. 2. https://prnt.sc/te6167
When an instructor goes to the edit profile page, he finds the fields for the students along with the fields Basic and Instructor fields. 3. https://prnt.sc/te648n
Why are the fields meant for the students appearing in the edit profile page for instructors? It is misleading. Show me a way to hide the section meant for the students from edit profile page of instructors.
Hello,
Yes we can hide it through custom css , please share the page url with same admin credentials at which you have to seen this,
Thnaks,
This reply has been marked as private.
Hello,
ARe you want to hide this field if yes i will share custom code with you, not then explain properly what you want to do,
Thanks,
I want to do that. Share the code please. And why this thing does not come by default? If an instructor sees fields meant for the students appearing in his profile edit page will it not confuse him? This should be hidden by default. Only respective fields should be shown to respective user types.
Hello,
If you want to hide this field then use code given below, Goto appearance>>customize>>custom css and paste it:
#profile-edit-form ul.button-nav li:nth-child(2) {
display:none !important;
}
Refer:
https://prnt.sc/tfr42f
Thanks,
The code has not solved the problem.
The issue again in nutshell - Students have (Base+General details) form groups/ Instructors have (Base+Instructor Details) form groups.
I want - Student profile edit page should show only (Base+General details) form group fields/Instructor profile edit page should show only (Base+Instructor details) form group fields.
Now before I used your code the instructor/student profile edit page was showing all groups editable to the users. After I use your code now the student profile edit page is showing (Base+Instructor details) instead of (Base+General details).
So, my problem is not solved. Requesting a quick solution.
Thank you Alex. It is solved beautifully. You can close the ticket.
thanks to confirm
closing this topic