WordPress Theme Editor Missing (5 Quick Solutions)

Wordpress theme editor missing

If you want to edit the core WordPress files to customize your WordPress theme you have to use the Theme File Editor.

But, you should do this only if you are familiar with coding WordPress files such as functions.php, style.css, etc.

The Theme File Editor is located at Appearance > Theme File Editor.

However, if you cannot see it, then you are facing the WordPress theme editor missing issue.

But do not worry, you can easily fix it by following the 5 solutions below.

Read on to find out how to enable theme editor in WordPress.

WordPress theme editor missing

The reasons causing the WordPress theme editor missing problem are browser cache, incompatible plugins, and wrong WordPress settings. Instead of using the theme editor, you can also go to Appearance> Customize to edit your theme. Themes supporting Full Site Editing will have Editor(Beta) instead of the Customize option.

Let’s now see how to find and fix the issue.

How to Fix the Theme File Editor is Missing in WordPress?

To fix the theme editor missing issue, you can take some troubleshooting steps that are given below:

1. User Permissions

Make sure you’re logged in as an Administrator; otherwise, you can’t edit the theme.

Go to your user profile in the WordPress dashboard to check your user role.

2. Clear the browser cache

If you are using the Chrome browser, click on the 3 dots in the top right corner. Then click on More Tools > Clear Browsing Data.

This will fetch the fresh version of the page and you may find the theme editor back.

If not, go to the next steps below.

3. Check plugins

Deactivate all plugins and check whether it resolves the issue.

If it does, then one of the plugins may have caused the issue.

To find out which plugin is causing the issue, reactivate each plugin one by one and catch the culprit.

You may substitute that plugin with a similar one or do it away altogether.

If this does not resolve the issue, let’s check the WordPress settings below.

4. Reactivate Theme

Sometimes, the theme editor missing issue is resolved by simply reactivating your theme.

To do this, navigate to “Appearance” > “Themes” in your dashboard. First, deactivate your current theme and then activate it again.

5. Change WordPress settings

For this step, you have to log in to your WordPress folder either through your host’s admin panel or through FTP.

Open wp-config and find the following line –

define('DISALLOW_FILE_EDIT', true);

Change this to – 

define('DISALLOW_FILE_EDIT', false);

Now, save the file.

Editing themes that support Full Site Editing

The issue of the missing theme editor may have been resolved by now.

If not, then contact your host and let them have a look at it.

If you do not want to mess with the codes to customize your WordPress theme you can go to Appearance > Customize option too.

But do note that if you have a theme installed that is capable of Full Site Editing, then you will see the ‘Editor(Beta)’ option instead of ‘Customize’.

However, you can still customize the theme using the old Customizer, even if it does not shows up.

To bring up the old customizer, type this URL in your browser –

https://yoursite.com/wp-admin/customize.php.

Replace ‘yoursite.com’ with the actual domain name of your site.

This will launch the old Customizer in themes that support Full Site Editing.

However, do note that there will be limited options.

If you do not want to use Full Site Editing but use the old Customizer, then you have to use a theme that does not support Full Site editing.

And if you do not want to use either The Theme File Editor or Customize or Editor(Beta) options in WordPress, use a page builder such as Elementor, Seedprod, Beaver, Visual Composer, etc.

FAQs

What is theme editor?

The theme editor is an option in WordPress to customize the WordPress theme by changing the core WordPress files.

How do I enable theme editor?

You can enable the theme editor by clearing the browser cache or finding incompatible plugins or changing the code in the wp-config file.

How to disable theme editor in WordPress?

In order to disable theme in WordPress add the following code to the wp-config file – define( ‘DISALLOW_FILE_EDIT’, true );

What to do if WordPress theme editor changes not showing?

If WordPress theme editor changes are not showing, clear your browser cache first. If that does not resolve the issue, deactivate all plugins. If the issue is resolved, activate each plugin one by one and see which one was causing the issue.

How to save changes in WordPress theme editor?

To save changes in WordPress theme editor click on the Update File button. If there is an error, first check whether there is a plugin conflict. If the issue is not resolved contact the theme developer or your host.

Conclusion

If the Theme File Editor is not showing in WordPress, you can resolve the issue by – 

  • Verify User Permissions.
  • Clearing the browser cache.
  • Finding incompatible plugins.
  • Reactivating current theme.
  • Changing the code in the wp-config file in the WordPress folder of your host.
Back To Top