• Resolved t_kelley

    (@t_kelley)


    Really great theme!

    I was wondering if there’s an easy way to remove the Theme Options feature from the admin area. I tried commenting out where it’s referenced in the functions.php but that didn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    Commenting out the lines in functions.php where it loads the Options Framework will remove the Theme Options from the theme (ie. The Options Framework wont load). The problem with doing this though is that there are numerous places within the theme that call Options Framework functions to retrieve the stored vales from the database. You’d need to go through the theme and remove all those calls as well. As an example, it retrieves all the saved social media url’s when displaying the social media icons.

    So yes, technically it is possible, but you’d need to modify the theme in numerous places.

    Theme Author Anthony Hortin

    (@ahortin)

    If the reason that you want to remove the theme options is to hide it from client sites (so they can’t modify/break things), then you might want to simply use a plugin to hide the Theme Options menu option. There are numerous plugins available that allow you to hide Dashboard menus. This plugin itself can then be added as a ‘must use’ plugin so that it can’t simply be deactivated from within the dashboard.

    See: http://codex.wordpress.org/Must_Use_Plugins

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove theme options feature’ is closed to new replies.