Theme options changes - by neil - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 10 years ago ago by Robert Hall

  • Avatar: midlandsonline
    neil
    Participant
    November 11, 2014 at 14:55

    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

    8 Answers
    Avatar: midlandsonline
    neil
    Participant
    November 13, 2014 at 14:14

    Is anyone able to give me an answer to this please?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 13, 2014 at 14:26

    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.

    Avatar: midlandsonline
    neil
    Participant
    November 13, 2014 at 15:43

    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?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 13, 2014 at 15:54

    Did you tried to use some plugins to implement such functionality?

    Regards,
    Robert Hall.

    Avatar: midlandsonline
    neil
    Participant
    November 13, 2014 at 16:09

    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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 14, 2014 at 08:43

    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.

    Avatar: midlandsonline
    neil
    Participant
    November 14, 2014 at 11:24

    Perfect

    You guys are awesome!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    November 14, 2014 at 11:30

    You are welcome and thank you for the feedback.
    Have a good day!

    Regards,
    Robert Hall.

  • Viewing 9 results - 1 through 9 (of 9 total)

The issue related to '‘Theme options changes’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.