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.
8 replies3 participantsUpdated 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.
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Marseille04Fashion
(live demo, opens in a new tab)
Sneakers StoreSports & travel
(live demo, opens in a new tab)
Flowers StoreBeauty
(live demo, opens in a new tab)
Sushi StoreFood & drinks
(live demo, opens in a new tab)
SkateSports & travel
(live demo, opens in a new tab)
Spice StoreFood & drinks
(live demo, opens in a new tab)
Pizza StoreFood & drinks
(live demo, opens in a new tab)
Electron Store 01Electronics
(live demo, opens in a new tab)
Ecotransport StoreElectronics
(live demo, opens in a new tab)
Classic Fashion StoreFashion
(live demo, opens in a new tab)
Rental CarCars & bikes
(live demo, opens in a new tab)
Furniture DarkFurniture
(live demo, opens in a new tab)
Jewelry StoreJewellery
(live demo, opens in a new tab)
Glasses StoreFashion
(live demo, opens in a new tab)
PosterBooks & art
(live demo, opens in a new tab)
Minimal Fashion 03 StoreFashion
(live demo, opens in a new tab)