Remove Access To Install, Update, Delete, Edit or Switch Themes for Admins

Saw this interesting question on the forums today and wanted to share one solution you may find useful at some stage:

This basically removes all access to the Appearance menu in the WordPress dashboard so admins cannot access any themes and make any changes whatsever.

The toolbar menu will still display a link to the themes page however this is the message that is displayed when that menu link is clicked:

remove theme access

3 responses to “Remove Access To Install, Update, Delete, Edit or Switch Themes for Admins”

  1. It removed the Genesis Theme Editor too.

  2. I tried this by adding the code into functions.php and it worked. I then removed the code and it has caused the Appearance menu to not reappear. I cleared all cache, logged out/in, and it still doesn’t come back. Any ideas on what to get the Appearance menu to reappear?

    1. Brad Dalton Avatar
      Brad Dalton

      Change remove to add and add the code again.

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.