This topic has 9 replies, 3 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp
Hi,
Which code in function.php must I insert to hide the theme options in my wordpress admin menu?
Many thanks.
vphan
Hello,
Sorry, but we don’t recommend you to hide that menu item. “Theme Options” is needed for you to make some configuration on the site.
May we know the reason you want to hide the settings?
Regards,
Eva Kemp.
I don’t want the client to change the design of the site.
He can add, delete the content, but not change the color, fontm and add e-commerce option.
Many thanks.
Please how can I hide the theme option?
Hello,
You can use some plugin for roles management.
For example http://wordpress.org/plugins/user-role-editor/.
Regards,
Jack Richardson
Hi,
Thanks, but I wish to hide it by inserting the code in the function.php please.
Many thanks
Hello,
Go to legenda/option-tree/includes directory and edit the ot-settings-api.php file. Find the following line add_action( 'admin_menu', array( &$this, 'add_page' ) );
(line 54) and comment it out.
Regards,
Jack Richardson
Thank you very much for help.
You support is great.
vphan
Hello,
Thank you for the feedback!
You’re welcome.
Have a good day!
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up