WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one remove the custom theme admin panel from a theme that has the options to change colours, layouts, etc?

Thanks. K

share|improve this question

The three easiest options:

  1. Limit users' user role to Author or below
  2. Change the $cap parameter from 'edit_theme_options' to 'edit_options' in the add_theme_page() call that adds the settings page
  3. Remove the settings page entirely, by removing the callback that adds the settings page. e.g. if the Theme uses:

    function theme_slug_add_settings_page() {
        add_theme_page( $args );
    add_action( 'admin_menu', 'theme_slug_add_settings_page' );

    Then you would remove that via:

    remove_action( 'admin_menu', 'theme_slug_add_settings_page' );
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.