Hi guys,
Is there a way to completely hide the theme options section in the backend of WordPress? Reason being is that many times a client wants full admin access but ends up messing up the website by playing with the the theme options section. I want to be able to still give them the full admin access but hide this theme options settings to prevent headaches on our end, or prevent back and forth regarding costs to rectify any issues they’ve created. It would be ideal to be able to isolate this to an individual admin user.
Thanks in advance :)
Hi bobfurgo
You could try to achieve that with a plugin such as:
1) Admin Menu Editor
or
2) Adminimize
I just did some research but have not used any of them by myself so I can’t give you any personal insights here.
Hope that helps, maybe try it on a staging environment first.
Cheers
Michael
Hi bobfurgo,
I’m not sure it’s what you are looking for, but did you try to check the Lock advanced layout builder options under Enfold->Layout Builder?
Best regards,
Rikard
Yep! Love the functions here. But would be great if there was some way to just hide the theme settings tab altogether.
Hi,
I think you should be able to do that if you write a function checking if your user is the current user: https://codex.wordpress.org/Function_Reference/wp_get_current_user, if that is not the case then hide the Enfold tab with CSS. You can use the init hook for that I think.
Best regards,
Rikard