This topic has 9 replies, 2 voices, and was last updated 10 years ago ago by Robert Hall
Hi there
Two questions.
Firstly I need to remove access to the import/export option in theme options so that my client does not have access to all those other theme options.
Can you tell me the file I need to amend to do this please.
Also, is it possible to remove the name Royal Store from the header of the theme options? If so, please again tell me the file I need to change.
Thank you
Is anyone able to give me an answer to this please?
Hello,
1)You can try to use some third-party plugin to implement such functionality.
https://wordpress.org/plugins/user-role-editor/
2)Find royal\option-tree\includes\ot-settings-api.php file and comment out (line 284):
// echo '<h3 class="theme-tittle">'.ETHEME_THEME_NAME.'</h3>'.'<span class="theme-version">v '.$theme_data->version.'</span>';
But we strongly don’t recommended to do it.
Regards,
Robert Hall.
Great thank you for this that worked to remove theme name
Is there a way to comment out the import/export option within the theme options?
Did you tried to use some plugins to implement such functionality?
Regards,
Robert Hall.
Hi Robert
Yes I tried that but it just gives the option to allow or disallow access to the theme options.
I dont want my client to have access to the Import/Export option within the option tree where he can have access to all 50 themes as I think this may cause some problems.
I think you may have misunderstood me, this is not to block access WordPress tools section its actually in the option tree if that makes sense. I just wondered if theres some code I can comment out for this section only
Thanks
Hello,
You need comment out this code in royal/framework/theme-options.php (line 105-109)
/*array(
'id' => 'backup',
'title' => 'Import/Export',
'icon' => 'icon-cog'
)*/
Regards,
Robert Hall.
Perfect
You guys are awesome!
You are welcome and thank you for the feedback.
Have a good day!
Regards,
Robert Hall.
The issue related to '‘Theme options changes’' has been successfully resolved, and the topic is now closed for further responses