edit_themes

What is the edit_themes permission in WordPress? #

The edit_themes permission is important in WordPress because it allows to make changes to the site's theme files.

If you have the edit_themes permission, you will see this link in the WordPress admin area:

  • Appearance > Theme Editor

The Theme Editor in WordPress allows you make direct changes to your site's theme files. This guide talks about access to the “Theme Editor” screen in detail.

Theme Editor Link
Theme Editor Link

Who has the edit_themes permission? #

The edit_themes permission is available on single WordPress sites and on multisite networks.

By default, the edit_themes permission is only given to Super Admins and Administrators.

Users not in these roles are not allowed to edit the site's theme files.


How to control who has the edit_themes permission #

You can control who has the edit_themes permission by installing the PublishPress Capabilities plugin.

  • After installing PublishPress Capabilities, go to “Capabilities” in your WordPress admin menu.
  • Using the dropdown in the top-left corner, choose the role to edit.
  • Click the “Themes” tab.
  • Check the box “edit themes”.
  • Click “Save Changes”.
Edit Theme Permission

All the WordPress theme permissions #