Theme editor disabled

I need to use the theme editor to edit header.php but I cannot find the editor anymore. I need to insert a different short code into header.php for each subsite in multisite.

Searching on Google, I found “Enabling the Theme and Plugin Editors in wp-config.php” at

In wp-config.php, I located:

define( ‘DISALLOW_FILE_EDIT’, true ); //disables the plugin and theme editor –

I changed this to:

define( ‘DISALLOW_FILE_EDIT’, false ); //disables the plugin and theme editor –

However, I still do not see the editor. Can someone tell me what to do? I could

  • Rupok
    • Support Ninja

    Hi philesq, hope you had a wonderful day.

    I cannot find the editor anymore

    Can’t you find the Editor menu in your Dashboard, or you can’t go to the editor page? Can you please do a plugin conflict test just to make sure no plugin is doing this? To know more about plugin conflict test, you can check this article:

    I could tell you better about the issue if I could see it live, check your current configuration and make some tests on your site. Would you mind allowing Support Access so we can have a closer look at this?

    To enable support access you can follow this guide here:

    And also, can you send me message with FTP access credentials through our secure contact form here: so we can try to fix it for you?

    Subject: “Attn: Rupok”

    – FTP Username

    – FTP Password

    – FTP Host

    – Link back to this thread for reference

    – Any other relevant URLs

    Select “I have a different question” for your topic. This and the subject line ensure that it gets assigned to me.

    Have a nice day. Cheers!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.