1. Molongui
  2. >
  3. Docs
  4. >
  5. Troubleshooting
  6. >
  7. How To Enable The WordPress Theme And Plugin Editor?

How To Enable The WordPress Theme And Plugin Editor?

Some web hosting disable the WordPress theme and plugin editor for security reasons. If you want to activate that functionality, you need to make some minor changes to your wp-config.php file:

  1. Log in to your webspace via SFTP and go to your WordPress website
  2. Open the folder where your WordPress installation resides
  3. Open the file wp-config.php on your computer with a text editor
  4. Search for this entry:
define('DISALLOW_FILE_EDIT', true);
  1. Change ‘true’ to ‘false’:
define('DISALLOW_FILE_EDIT', false);
  1. Save the file and upload it again
  2. The Theme Editor is now available under Appearance > Theme Editor. And the Plugin Editor under Plugins > Plugin Editor.
Was this article helpful to you? Yes No

How can we help?