How to Fix the Theme File Editor is Missing in WordPress

You are currently viewing How to Fix the Theme File Editor is Missing in WordPress

Are you having trouble finding the theme file editor or plugin file editor in your WordPress dashboard? Don’t worry. We’ve got you covered!

This blog post will show you how to fix this issue and regain access to these essential editor screens.

Identifying the Issue: Theme File Editor and Plugin File Editor Missing in WordPress Dashboard

To begin, navigate to the “Appearance” tab on your WordPress website and search for the Theme File Editor option. Alternatively, you can search for the Plugin File Editor screen under the Plugins tab.

Missing Theme File Editor Screen

In some cases, especially with new themes developed by the official WordPress team, the editor screens can be found under the Tools tab.

Theme File Editor under Tools

If you can’t find either, a function inside the wp-config.php file prevents it from appearing. Therefore, we will need to access the file and modify the function.

You can access WordPress core files through FTP or a file manager plugin. Once you’ve made the necessary changes, refresh your website, and voila! You’ll have the theme file editor and plugin file editor back in your dashboard.

Fix the Missing File Editor Screens in WordPress

The following steps will show you how to fix the missing Theme and Plugin File Editor screens:

  1. Download a File Manager plugin

    The first step to accessing the WordPress core files is using an FTP or a file manager plugin. Therefore, navigate to Plugins -> Add New, and install the WP File Manager plugin. WP File Manager Plugin

  2. Open the wp-config.php file.

    Navigate to the WP File Manager tab, right-click on the wp-config.php file, and choose Code Editor. Edit the wp config file

  3. Modify the ‘DISALLOW_FILE_EDIT’ function.

    Search for the define(‘DISALLOW_FILE_EDIT’, true); and replace it with define(‘DISALLOW_FILE_EDIT’, false);. Alternatively, you can also comment it out from executing by adding double dashes (//) to its left or delete the row completely. Allow File Edit WordPress

  4. Save and Validate

    Click on the Save & Close button, and refresh the page. Now, when you go to the “Appearance” tab, you should be able to see the theme file editor or plugin file editor. Theme File Editor Restored

Following these steps will restore the missing options in your WordPress dashboard, allowing you to edit themes or plugins effortlessly.

Please remember to back up your website before editing core files.

Conclusion

The file editor screens are handy when using code snippets or modifying certain pages and templates.

Not having the option to access those screens can slow us down or prevent us from achieving our desired website look.

This tutorial showed you how to restore the theme file editor and plugin file editor back in your dashboard.

Also, make sure to subscribe to our YouTube channel and like our page on Facebook.

PluginsForWP

PluginsForWP is a website specializing in redistributing WordPress plugins and themes with a variety of knowledge about WordPress, internet marketing, and blogging.

Leave a Reply